Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Web-App-Sec
[Top] [All Lists]

Re: secure storage of sensitive data in J2EE

Subject: Re: secure storage of sensitive data in J2EE
Date: Thu, 27 Jan 2005 09:58:28 -0500
You have several choices. You can store these in a JNDI directory with the proper security realm and JAAS controls, or you could store it in a backend database or ldap of some form. The idea is to not store these locally to the server/app they are intended to protect, such that if your code or the server is compromised there is no further loss.

chaim moshe wrote:

Hello list,

where can I store sensitive data like encryption keys, passwords, etc. in J2EE?
surely, you can save it in the keystore, but the catch is where do you store the keystore password to protect it from external access?
storing the keystore password in code or in config files is not secured enough.



In the .NET environment you have DPAPI that was designed exactly for this kind of problem, the sensitive data is encrypted at the OS level with the user/machine password and is decrypted at runtime.
What is the solution in the J2EE environment ?


Thanks!

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




<Prev in Thread] Current Thread [Next in Thread>