Question by
rainUn · May 06, 2017 at 11:47 PM ·
jsonsave datasecuritypersistentdatapathencryption
Prevent user from copying/deleting files stored in PersistentDathPath
Hello, im developing a game, that so far stores crucial data on client-side in the Application.persistentDataPath. For example, the player will have items in his inventory and consumable materials that im converting to Json then encrypt them, for the average user to not really bother. But since my game has a gambling factor in using materials, a user can f.e copy the json file from the Directory before launching game, do a use-materials-session and if it fails, copy the old json file back, causing a rollback. Is there any way to prevent this, besides storing crucial data on a server? Also, deleting those files will result in losing all progress he has made so far. Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612121435im_/https://answers.unity.com/themes/thub/images/avi.jpg)