[Tutor] Encrypting shipped sqlite db in app directory

Peter Otten __peter__ at web.de
Sat Mar 30 04:03:08 EDT 2019


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?

Assuming you had an encrypted database, where would you put the password?
You cannot give it to the user because then he can decrypt the database, and 
if you put it into the app you are effectively giving it to the user.



More information about the Tutor mailing list