How to check for a file's authenticity ?

Posted by Ale_x on Stack Overflow See other posts from Stack Overflow or by Ale_x
Published on 2010-06-09T09:35:37Z Indexed on 2010/06/09 9:42 UTC
Read the original article Hit count: 138

Filed under:
|

Let's say I write a game application. I want the level of the player to be stored in an external file.

How can I prevent a hacker from writing and modifying the file to put another level ? I want the file to be modified by my application only.

I can sign the file's content with a key, but then this key will be stored in the application, therefore it would be possible for a hacker to decompile the binary and find the key.

Is there any way to do this ?

© Stack Overflow or respective owner

Related posts about security

Related posts about authentication