0

I ship a database with my app, and I would like to protect the data model from others peeking inside. Basically I dont want anyone opening the db file besides the app itself.

My research has led me to SQLCipher for Android: https://guardianproject.info/code/sqlcipher/

However some of the posts online say that encrypting DB will not prevent someone from opening it, as an attacker can easily look up the key: Android How to use SqlCipher with pre-bundled Sqllite Database?

To me if the key can be looked up then the point of encrypting a shipped db is pointless as it does not offer protection.

My question is:

Is SQLCipher the right approach to encrypt the DB in order to protect its data & model from attackers?

Community
  • 1
  • 1
AlexVPerl
  • 7,652
  • 8
  • 51
  • 83

0 Answers0