Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



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

Posts: 12
Trades: 0
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
 
 
Register now for full access!
Old 07-20-2005, 07:06 AM
asm
Extreme Talker

Posts: 217
Location: UK.Lancashire(true)
Trades: 0
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, 07:45 AM
millwalll's Avatar
Webmaster Talker

Posts: 674
Name: James
Location: KENT
Trades: 3
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, 08:28 AM
Enigmatic's Avatar
Registered User

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

Posts: 880
Location: Leeds UK
Trades: 0
I store as md5, adds that extra peice of security.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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 1.20717 seconds with 12 queries