简体   繁体   中英

How to protect my database in IOS application (Best way)

I'm using SQLite database in my application and I need to protect the SQLite file. What's the best way to protect it?

  1. Password protected?
  2. DB Encryption?

There is a proprietary extension for SQLite available that provides encryption: The SQLite Encryption Extension (SEE)

If the core data is precious, you should consider obtaining a license.

Alternatively, you can write a Virtual Filesystem Module which allows you to have code between database engine and file storage and implement some kind of encryption there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM