Secure database from user

Prosg

Active Member
Licensed User
Longtime User
Which is the best way to use a database of data which cannot be open by the users (via the hard drive)

I have already use sqlite but i don't see any possibility of putting a password

Cryptage ? other database ?

The data must be in the user phone

Thank you to share your experiment
 

NJDude

Expert
Licensed User
Longtime User
You have 3 choices:

1- Encrypt the database.
2- Place the database in DirInternal (this directory is accessible only by your app, however, if the device is rooted, the database can be read/copied)
3- Encrypt and place it in DirInternal (on a rooted device the database can still be read/copied but the data will be encrypted).
 
Upvote 0

Prosg

Active Member
Licensed User
Longtime User
i try in my previous app to place the database in the DirInternal (sqllite) but it's work only with emulator...

I don't understand why but only for sqllite the DirInternal was readonly on device
 
Upvote 0
Top