[Tutor] Encrypting shipped sqlite db in app directory
Alan Gauld
alan.gauld at yahoo.co.uk
Sat Mar 30 03:28:37 EDT 2019
On 30/03/2019 07:22, Alan Gauld via Tutor wrote:
> On 29/03/2019 18:01, Ali M wrote:
>> I want to encrypt my sqlite databases which are shipped with the app in
>> it's directory, so that the user can't modify or use it elsewhere, and they
>> will only be accessible for the app to read from, how can i do that?
> You should also consider things like file ownership and
> user accounts for your app, complete with separate
> logins etc.
I meant to add that you could incorporate a checksum too
so that you can detect if anyone has tampered with the
file.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list