How to encrypt Hibernate config file

Hibernate has a configuration file where we provide the database access credentials that it uses to connect to the database. If someone gets hold of the configuration file, they can completely destroy the system.

Is there a way when we can only protect confidential information from the configuration file. I don't want the development team to do database access.

Please, help

+3


source to share


1 answer


You can use Jasypt

to encrypt configuration file data



http://www.jasypt.org/encrypting-configuration.html

+1


source







All Articles