Answer the question
In order to leave comments, you need to log in
How to make a secure SQLite database in a Java application?
My Java application using Swing needs a secure database, I want to use SQLite. As planned, I want my application to be able to freely work with the database without requiring user action. Moreover, if someone steals / receives the base, then they will not be able to read what is there. How can this be reasonably implemented? If you put a password on the database or encrypt it, then where to store the key to find out it was impossible.
The application is not connected with the server in any way
Answer the question
In order to leave comments, you need to log in
If you put a password on the database or encrypt it, then where to store the key to find out it was impossible
If the conditions say that someone will steal / get the database.
Encrypt the database, bind the password to something unique of this iron. For example, some hash from mac+cp pc+sn hdd. If soprut then it will be necessary at least also to find out all the necessary data from which the password is collected.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question