protects the database file with a password.
protects the database file with a password.
To set a password for a database file, this method needs to be called before a database file is created with the first openFile .
All further attempts to open the file, are required to set the same password.
The password is used to seed the encryption mechanism, which makes it impossible to read the database file without knowing the password.
Configuration Interface | com.db4o.config Namespace