-2
\$\begingroup\$

What is safest possible way to store data? Specific directory? (De-)hashing method? Specific permissions?

Let say I have file *.txt file; the only *.txt file. I have there important data. What can I do with this file to make it as safe as possible for further use. For Windows Vista and newer (7/8/Blue). I could use it to see if game is really bought, not cracked etc. .

\$\endgroup\$
  • 1
    \$\begingroup\$ There is no such thing as "secure storage" on a client. \$\endgroup\$ – API-Beast Jul 26 '13 at 16:11
  • 1
    \$\begingroup\$ I think the intent is similar to this question: gamedev.stackexchange.com/questions/8783/… \$\endgroup\$ – John McDonald Jul 26 '13 at 16:19
  • 2
    \$\begingroup\$ I'd say this question is either too broad, or off topic. Game developers are not file security experts. Further, if there was a "safest" place on the file system, I would hope that a program downloaded from the internet (your game) wouldn't be able to access it, making it not very safe at all. That means your program is left to access only the areas where any other application can access. That's as safe as it gets. \$\endgroup\$ – MichaelHouse Jul 26 '13 at 16:20
  • 1
    \$\begingroup\$ Probably related: gamedev.stackexchange.com/questions/23296/… \$\endgroup\$ – Tetrad Jul 26 '13 at 16:48
  • 2
    \$\begingroup\$ Safest from who? The user (who owns and controls the machine)? Other programs? Monsters from under the bed...? \$\endgroup\$ – Katana314 Jul 26 '13 at 18:13
1
\$\begingroup\$

Really, the safest way to store data is on a remote server. By safe, I mean, no one can really touch the data except for the ways you allow the data to be accessed.

A good question to ask yourself is, is my data worth protecting?

If this game was a simple single player game with no contact with the outside world (eg. online high scores, online multiplayer), why bother protecting that data?

If the game is online in some way, then don't bother storing sensative data locally.

If your goal is to prevent people stealing your game, then have it look online for validation and store keys and IP Addresses on your servers. That way you can see who is using your game. If this is done, be aware that ISP's sometimes hand out random IP's in their massive pools of IP addresses.

| improve this answer | |
\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.