I don't know much about myspace applications, but is there a server component there? If so, you can first request a βtokenβ from the application, which will be an encrypted action and some arbitrary timeout, say, 3 seconds. Then the token is passed to the common handler, which decrypts it, then checks the timeout. If it is valid, then the decrypted action is performed.
External factors, such as network latency and unsynchronized clocks, may not perform some actions. This should prevent simple replay attacks, but is still vulnerable to attack scenarios.
source share