F
F
frankwolf2019-12-27 09:32:46
Java
frankwolf, 2019-12-27 09:32:46

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

2 answer(s)
D
Dmitry Shitskov, 2019-12-27
@Zarom

If you put a password on the database or encrypt it, then where to store the key to find out it was impossible

  1. On a remote server
  2. On the token

D
Dmitry Alexandrov, 2019-12-27
@jamakasi666

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 question

Ask a Question

731 491 924 answers to any question