Jeff Richards

Greenhorn
+ Follow
since Dec 14, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jeff Richards

Check out the Core Security Patterns book from Sun press. It has a bunch of stuff on encrypting and storing passwords. It also provides a ton of source code and examples along with patterns and best practices for how and when to encrypt, etc. I got it off Amazon.

-Jeff

Originally posted by Kumaran Sowrirajan:
Hi

In My J2EE Web Application i stored my Database UserId and Password in the properties file.Since the properties file can be editable and the UserId and Password is stored as plain text everybody in our team and others are able to read those Userid and Password from the properties file.

What i want is how to encrypt the UserId and Password and i need to store that encrypted Userid and Password in the properties file.while retrieving the data from the properties file i need to decrypt the values.

I know that i have to use some crytography techniques.Can any one of you tell me how to do this?

Thanks,
Kumaar.S


[ December 14, 2005: Message edited by: Jeff Richards ]
18 years ago
Does anybody have a tag library for enforcing page-level permissions as defined in the Programmatic Authorization Strategy of the Authorization Enforcer pattern? If so, how hard was it to implement? I really like the pattern and the strategy is perfect for what we are doing. I just don't have much experience with tag libraries.
18 years ago
JSP