How to encrypt global-metadata.dat

Hi,

We build our Android game withing IL2CPP method, but found global-metadata.dat is unsafe, cause user can get it within deivce.

So I want to know if we can encrypt global-metadata.dat?

Bumping this super old message. I’m searching an answer to this as well.

Bumping 2020 :slight_smile:

2021… ^^

2022 :slight_smile:

Please stop bumping this. It is NOT POSSIBLE to secure data on another computer. Stop trying.

If you’re concerned about the user ‘hacking your save files,’ or ‘cheating in your game,’ just don’t be. There is nothing you can do about it. Nothing is secure, it is not your computer, it is the user’s computer. If it must be secure, store it on your own server and have the user connect to download it.

Anything else is a waste of your time and the only person you’re going to inconvenience is yourself when you’re debugging the game and you have savegame errors. Work on your game instead.

Remember, it only takes one 12-year-old in Finland to write a script to read/write your game files and everybody else can now use that script. Read about Cheat Engine to see more ways you cannot possibly control this.

Dear, Kurt-Dekker

There is a way to stop it and there is something that you can do about this… Add a simple metadata encryption to your game and boom its all good!

From, Noah