I have developed several Flash + PHP games, and the game logic is in PHP files. Flash is for animation and user interface only. Now I have a client who is interested in my games, but we have a deal so that he can use the games in just 2 months, and then, if he does not pay the fee, the games will stop working.
I want to protect my games so that he cannot use them forever. I thought that when the game starts, it will send a request to my server, and if my server answers PASS = 123456, then the game will work, otherwise a message will appear with "GAME DISABLED".
Another method would be to move part of the PHP logic to my server, but this could lead to games running slower than expected.
I also tried Kindisoft secureSWF, but their software changes the functionality of some games.
Does anyone have any other ideas on how to protect this?
source share