Satish <[EMAIL PROTECTED]> writes:

> 
> Hi!
> 
>     I am basically a windows application developer. I am developing an
> application for desktop which uses a database. I choose SQLite as my
> database and my issue is if any one finds my application is using SQLite
> database they can corrupt my database or they can see the contents of my
> database using a program(they can open my SQLite file).
> 
>       Now my question is how I can provide security to my database for
> example no one can access my database except my application .how can I
> provide security
> 
> Plz provide me best solution to provide security to my database without any
> Data loss.
> 
> Regards,
> 
> Satish.G

A possibility would be to store the file on disc in encrypted/scrambled form.
When your app starts, it loads the DB file into memory and descrambles it,
then uses SQLite on an in-memory DB.
When it closes after any DB changes it rescrambles it and writes back to disc.

Obviously anyone analysing your app would eventually be able to work out
the process ... the devil is in the detail !!

Cheers,
MikeW

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to