sqlite - How to secure android database file? -


i have problem. using xyz.db file , stored in asset folder. copying data xyz.db application db stored in data/data/com.xyz/abc.sqlite in storage folder. want secure asset's xyz.db file. because can extract apk reverse engineering. please me secure asset folder's database file.

you can perform following make relatively difficult access data in db.

  1. password protected zip file contain db @ runtime should extracted.
  2. encrypt file symmetric key , again @ runtime decrypt it.
  3. utilize sqlcipher performs encryption data @ rest.

in both above cases need worry storing password or key. there no sure shot way protect file above require more effort , should added basic protection.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -