0

Does Android do an encryption to the sqlite database owned by the application ?

Reading the documentation and various forums I could only gather that the database is protected by the application owning it and it is not visible to the other apps .

Can this mean that it is a very viable security hole ? Why doesn't Android advice developers to encrypt the sqlite databases ?

Chris
  • 798
  • 1
  • 9
  • 15

1 Answers1

0

Android does not encrypt sqlite databases (or any files created by the application, no matter their location). Files (including a database) created in internal storage are protected by uid, which means they cannot be easily read by other apps. However, if the device is rooted, they can be easily copied and/or read.

It's only insecure if you store data that shouldn't be stored there. Your options if you want a higher level of security are (a) to store encrypted data (b) use some other encrypted database service.

Community
  • 1
  • 1
Sofi Software LLC
  • 3,879
  • 1
  • 36
  • 34