DBA > Job Interview Questions > DERBY Java Database FAQs

How to encrypte a Database When You Create It?

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

How to encrypte a Database When You Create It?

If your environment is configured properly, you can create your database as an encrypted database (one in which the database is encrypted on disk). To do this, you use the dataEncryption=true attribute to turn on encryption and the bootPassword=key attribute to specify a key for the encryption. You can also specify an encryption provider and encryption algorithm other than the defaults with the encryptionProvider=providerName and encryptionAlgorithm=algorithm attributes For more information about data encryption.

jdbc:derby:encryptedDB;create=true;dataEncryption=true; bootPassword=DBpassword

(Continued on next question...)

Other Job Interview Questions