Preventing High Score Board Hacking
High score board hacking seems to come up a lot. Over the last few days I've been contacted by several people asking for help on it so I figured I'd put something together to avoid all the re-typing.
In short, I feel there are four steps to preventing high score board hacking (or any type of hacking involving data transfer):
1) Use SSL to prevent hackers from manipulating the data being sent over the wire
2) Encrypt all important variables in memory to protect from memory hacks
3) Use a Flash obfuscator to prevent easy decompilation and patching of the code
4) Validate anything possible on the server (score vs. length of play, etc)
This does assume that you have already corrected game-specific bugs and exploits. If you go here you can read about this in a lot more detail. I provide links to possible source, techniques, etc. Have fun!