[yunqa.de] Re: Password protect a Sqlite file

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Mon, 22 Oct 2007 10:45:25 +0200

>Is there anyway my SQLite file can be password protected to be only
>accessible from inside my application?

In theory, any DISQLite3 application (like SQLiteSpy) can open encrypted 
databases if the password is known. In practice, the AES encryption applied is 
extremely strong so this is virtually impossible if the password is not know.

So the answer to your question is:

* Yes, if you do not spread your password.
* No, if you make your password publically available.

It is of course up to you to scramble the plain text password before you pass 
it on to the DISQLite3's sqlite3_key() function. This way other applications 
who are unaware of the scramble algorighm will not be able to user the same 
plain text password.

Ralf  

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts:

  • » [yunqa.de] Re: Password protect a Sqlite file