Reputation: 5343
I am storing a (.sqlite) in my documents folder. I need to encrypt this file, so that no one can directly access the file. Can this be achieved in iOS?
Upvotes: 0
Views: 2160
Reputation: 37189
You can use sqlcipher library which provide good level of encryption to your sqlite database. It is adds the encryption layer on sqlite. It's free and open source. You can see more details and the tutorial below. https://www.zetetic.net/sqlcipher/ios-tutorial/
Upvotes: 0
Reputation: 31
In iOS app no one actually can access your .sqlite file, except you. This documentation folder will be available only for your app
Upvotes: 3