aspose file tools
The moose likes JDBC and the fly likes saving password in MYSQL Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "saving password in MYSQL" Watch "saving password in MYSQL" New topic
Author

saving password in MYSQL

prakash chauhan
Ranch Hand

Joined: Jun 22, 2007
Posts: 81
Hi All,
how do we save passwords in MySQL, i dont want passwords to appear as they are in the database for anybody to see , how is it achieved?

-thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56224
    
  13

A common tactic is to convert the password using a one-way hash like MD5 or SHA.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: saving password in MYSQL
 
Similar Threads
mysql encrypt()
Username and Passwords
CMP Entity Bean -> Encrypted Column Type ?
Tell me one (Handy) DataBase for Java ?
Tomcat Realm DES encrypted passwords