in reply to Java game linking to a perl script
The large number represents a who-am-i. You can use IPs, but you then have to worry about people who nat, or are on load balancers. Acts like a cookie to present to the server.
They key would act much like your key. Something that's one time use, and only hackable if you hack the client. Nothing that would be easily guessable by checking urls. (Imagine if your key=answer).
Update: Collisions should be rare if you append say, the ip to the random number.
----
Give me strength for today..
I will not talk it away..
Just for a moment..
It will burn through the clouds..
and shine down on me.
|
---|