Reply
How people stores the password in database?
Old 07-20-2005, 05:51 AM How people stores the password in database?
Novice Talker

Posts: 12
Hi,
I need some help with storing password in mysql database or something similar.

i used to store the password in database using md5() function but there is no way to retrieve the

password back.

Now i want to know that -
is it standard and secure way to store password?
is there any other technique to store password so i can retrive it back?

Any advice on this would be highly appreciated.

Thanks
Paresh
jeephp is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-20-2005, 06:06 AM
asm
Extreme Talker

Posts: 217
Location: UK.Lancashire(true)
Passwords is obviously a broad subject that we could spend the day discussing. If the data is sensitive then there should (in my opinion) be no way to view the password, but ask yourself this question, why would anybody want to view another persons password? if it is lost it can just be changed. You can use the encode function ie insert into TableName value(null, ENCODE($aPassword))
As appose to TableName value(null, PASSWORD($aPassword))

This means that it can be retrieved by using the DECODE() function. As I say though it depends on the worst case scenario, if your database gets hacked does it matter if the hacker gets the passwords?
asm is offline
Reply With Quote
View Public Profile Visit asm's homepage!
 
Old 07-20-2005, 06:45 AM
millwalll's Avatar
Webmaster Talker

Posts: 554
Name: James
Location: KENT
yeah i agree i dont think you should eb able to retrive the password as alot fo people hve the same password for alot of things
millwalll is offline
Reply With Quote
View Public Profile Visit millwalll's homepage!
 
Old 07-20-2005, 07:28 AM
Enigmatic's Avatar
Registered User

Posts: 86
Location: No Fixed Abode
Alternativly, use the php md5() function
Enigmatic is offline
Reply With Quote
View Public Profile
 
Old 07-20-2005, 07:49 AM
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
I store as md5, adds that extra peice of security.
__________________
www.nationalclubgolfer.com www.sportspub.co.uk www.bespokecc.co.uk www.centralmarquees.co.uk
Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Reply     « Reply to How people stores the password in database?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14070 seconds with 12 queries