in reply to Java game linking to a perl script
Barring that, learn how Java can POST the solved url information rather than GET the solved url information. The POST method hides the values they're sending, while the GET method encodes them into the URL where anyone can see or muck. I'm guessing Java has a way to do that, too. Methods GET and POST in HTML forms - what's the difference?
Barring that, you should encode the URL parameters in such a way that the user can't recognize or muck them. That might mean that your Java and your perl need to share a key.
If you're really trying to avoid all chance of snooping, you'd use a public key encryption scheme, whereby the Java applet only knows a public key and the perl script can read the encoded form in private key. Of course, since Java is a bytecode, easily decompiled language...
--
[ e d @ h a l l e y . c c ]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Java game linking to a perl script
by straywalrus (Friar) on Jul 14, 2005 at 14:56 UTC | |
by exussum0 (Vicar) on Jul 14, 2005 at 16:15 UTC | |
by straywalrus (Friar) on Jul 14, 2005 at 23:20 UTC | |
by Arunbear (Prior) on Jul 15, 2005 at 11:41 UTC | |
Re^2: Java game linking to a perl script
by kiat (Vicar) on Jul 15, 2005 at 11:49 UTC |