Let's say i have built a 2 player game. What if a user ( having a technical knowledge ) saves the swf, decompiles it, cheats into the code, and runs the game from flash player (As naturally it cannot be run from owner's server, without uploading it there with his permission).
How can i restrict him playing the game via flash player ?
What i think is, i must use PHP session on the page, where the flash is being loaded. Can that do the trick ?
Thanks
If you post something on the Internet, those files are almost always first downloaded to the Internet cache and played back from there... so the viewer already has a copy.
But with most games, there are many files that make up the "assets" of the game.. all pieced together ..... who knows how!!
So while it's pretty easy to grab the main .swf (and perhaps decompile as you suggest), there may be dozens of other related files that must be coded in also.... that's the tough part.
So while the game may be a really good game, it you post it on the Internet, it's almost always possible to download it.... but to reassemble, much, much harder. And I just don't think that many people would take the trouble to decompile and reassemble.
Best wishes,
Adninjastrator
North America
Europe, Middle East and Africa
Asia Pacific