F
FET
Hi everyone,
I have an application that uses a configuration file to store the
database access credentials. This application uses an authentication
based on Username-password. I would like to prevent these database
access credentials from being stored in clear.
But the problem with encrypting the configuration file with one
password is that another user cannot decrypt it with his password. So
what I need is a scheme in which the encrypted file can be decrypted
by each user using his/her own password.
Is there any way to do this in Java ? I want to avoid using PKCS7
Enveloped Data since there are no asym keys involved here.
Thanks in advance.
Best regards.
I have an application that uses a configuration file to store the
database access credentials. This application uses an authentication
based on Username-password. I would like to prevent these database
access credentials from being stored in clear.
But the problem with encrypting the configuration file with one
password is that another user cannot decrypt it with his password. So
what I need is a scheme in which the encrypted file can be decrypted
by each user using his/her own password.
Is there any way to do this in Java ? I want to avoid using PKCS7
Enveloped Data since there are no asym keys involved here.
Thanks in advance.
Best regards.