Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone:Create Password Protect SQLite database

i am able to create sqlite database using firefox addon and use database in iPhone. Now I want to give the the password to database and used it in my iPhone application. i tried a lot on google to search the proper way yo create password protected database but still no success.

anybody have idea that how can create the password protected sqlite database and how can we use it in iPhone

like image 783
Rupesh Avatar asked Dec 17 '25 04:12

Rupesh


1 Answers

Try SQLiteEncrypt.The SQLiteEncrypt is an AES encryption embedded SQLite database engine through which you can encrypt and decrypt your SQLite database file. When set a password key into your database file, content is no longer stored in cleartext, so that we achieve the purpose of data protection.

But it is not free.

Note: But IT is not for iOS (thanks brad to pointed it out).

*Edit***

For iPhone you can use SQLCIPHER which is an open source full database encryption for sqlite.

like image 164
raaz Avatar answered Dec 19 '25 18:12

raaz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!