> Sent: Friday, May 20, 2016 at 6:44 AM
> From: "Richard Hipp" <drh at sqlite.org>
> To: "SQLite mailing list" <sqlite-users at mailinglists.sqlite.org>
> Subject: Re: [sqlite] Password Protect SQLite DB
>
> On 5/20/16, Agarwal, Rajesh <Rajesh.Agarwal at snapon.com> wrote:
> > Not encryption, to password protect the db file.
> 
> How is it possible to "password protect" a file without encrypting it?
> -- 
> D. Richard Hipp
> drh at sqlite.org
> _______________________________________________
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Quite simple (pseudocode):
database_password = get_password(filename);
if (input_password != database_password) return error;

However this approach as you intuitively recognized is not any "real" 
protection at all. It's just an inconvenience step


Reply via email to