#1 2024-02-14 15:57:24

marcioribeiro1979
Member
Registered: 2023-04-18

Encrypt password for metadata connection in persistence.properties

Hi,

Is it possible to encrypt the password used to connect into metadata repository , stored in persistence.properties file ?

This password:

# Credentials
hibernate.connection.username=user1
hibernate.connection.password=<ENCRYPTED>

Thanks,

Marcio

Offline

#2 2024-02-15 08:30:08

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Encrypt password for metadata connection in persistence.properties

Hi Marcio,

this is not possible. Pls check this https://stackoverflow.com/questions/386 … n-ini-file for information why this would not make the system more secure.
If your server is compromised, that's it. You should work on making your server more secure instead of trying to encrypt a password in a configuration file.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB