Flash game with PHP/MySQL - score faking problem

I’d like to have a score table for a Flash game and keep it in a database (using **loadVars ** method).

The problem is: how to prevent the score faking?

In normal situation, when the game is over - the score table is called from within Flash and a new score is written in it.

But, there are people who will want to make e.g. one million points without playing a game! :slight_smile: They will decompile a .swf, see what loadVars does, and write a score from their custom .php form.

How to prevent it?
Normal authentication isn’t suitable here, because the game is open to everybody.