system.DocumentsDirectory accessible by android users ?

Hi all,

In my game, i create a database with game info about the player (score, level, etc…) and store it in the system.DocumentsDirectory.
With an iphone or ipad, i really think you can’t access this db because you can access nothing :slight_smile:
A friend with an android tried to localize the database of my game on his phone, and didn’t success (but he is not very good :slight_smile: ).

My question is : when i store something in system.DocumentsDirectory , is it secure and inaccessible by users ? Or is a good android user/hacker able to read info store in this dir? How to localise this dir on an android phone?

Thanks all!

Anyone with root access can read that folder.  I’d worry about making a great game rather than being hacked.

Root access ? Each user has the root access on his own phone no? Where is located this dir on the phone ? Thanks !

You are confused - read this.

Don’t store config in an easy to hack DB.  Instead create your own file format and make it impossible to hack easy.

@latyl1, phones and tablets out of the box are locked and people cannot access your app’s sandbox, however, it’s very possible to “root” (Android) or “jailbrake” (iOS) devices to get unrestricted access. Many people do this to get cool features that Apple and Google don’t want you to have. Others do it because they don’t like being restricted and other do it because they want to game the system and others will answer all the above. I don’t know an exact percentage of those who do or don’t, but just based on volume of devices sold and the effort it takes to break the phones security tells me that most people don’t but there are a sizable number who do.

Rob

Anyone with root access can read that folder.  I’d worry about making a great game rather than being hacked.

Root access ? Each user has the root access on his own phone no? Where is located this dir on the phone ? Thanks !

You are confused - read this.

Don’t store config in an easy to hack DB.  Instead create your own file format and make it impossible to hack easy.

@latyl1, phones and tablets out of the box are locked and people cannot access your app’s sandbox, however, it’s very possible to “root” (Android) or “jailbrake” (iOS) devices to get unrestricted access. Many people do this to get cool features that Apple and Google don’t want you to have. Others do it because they don’t like being restricted and other do it because they want to game the system and others will answer all the above. I don’t know an exact percentage of those who do or don’t, but just based on volume of devices sold and the effort it takes to break the phones security tells me that most people don’t but there are a sizable number who do.

Rob