Change password of SQLite database in Xojo

How do we change password of SQLite database in Xojo ? Is it even possible at all from Xojo ?

Thanks

Hi Björn,

Yes, It is possible. Please, read the section “Ciphering SQLite databases” in the SQLiteDatabase and iOSSQLiteDatabase Tutorial

Excerpt:

[quote]The Encrypt method also provides two additional functions, always called after Connect:
To modify the password of an already ciphered database. For this we provide the string used as the new password as the parameter.
Decrypt a previously ciphered database. For this we pass an empty string as the parameter.[/quote]

Javier

Thanks that works

Björn