This is a discussion on What format should i use to save password? within the MySQL forums, part of the Databases category; Hey fellas! I need to save user's password in a table. So whats the best way to save it in? ...
| |||||||
|
#1
| ||||
| ||||
| Hey fellas! I need to save user's password in a table. So whats the best way to save it in? RR advised me to use MD5, but i searched and found this article which says it can be hacked easily. Cracking MySQL's MD5() function ... within seconds Any ideas/advises?? VS.NET 2005 Micky |
|
#2
| ||||
| ||||
| Quote:
I always used to use md5(), haven't done much new php programming for a while now though so am not up to scratch with what is the best current method...however have you looked at the PHP: md5 - Manual page? There are some threads there talking about greater security... Also...what are you securing access too? and how likely are people to want to crack it..that is something in my mind you have to weigh up with the time/money spent on securing it... Just a thought, Let us know if you find something better ![]() Graham.
__________________ “There are two theories to argueing with women. Neither of them work! ” - Unknown |
|
#3
| ||||
| ||||
| thanx RF, i'll have a look |
|
#4
| ||||
| ||||
| no worries, although just reread your post and you say VS.Net2005...sorry I presumed you were using PHP! Not sure my link will help afterall. Oh I do try! |
|
#5
| ||||
| ||||
| Quote:
![]() well the link might help, irrespective of development platrofm |
|
#6
| ||||
| ||||
| Quote:
|
|
#7
| ||||
| ||||
| Micky, This all shouldn't be taken with a grain of salt...or perhaps, it should ![]() I use SHA-1 with a password salt for extra security. I would look into going that route.
__________________ jmurrayhead If you agree with me... click the icon! If my post solved your problem, click the button in the lower right-hand corner of the post.If you like it here...throw us a few bones to help support us. Join our Folding team: DeveloperBarn Folding |
|
#8
| ||||
| ||||
| Quote:
can u have a look and see if thats what u mean and if i shud use it ![]() VB.NET Code Sample: Hashing Data MySql VS.NET 2005 |
|
#9
| ||||
| ||||
| It's a pretty good example, but not complete with information. I have a working sample at home that I won't mind sharing with you...just gotta give me about 10 hours :P |
|
#10
| ||||
| ||||
| Quote:
|
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Salted Password Hash | jmurrayhead | .Net Code Samples | 11 | March 18th, 2009 07:31 AM |
| [Suggestion] Date Format Suggestion | icoombs | Suggestions & Feedback | 1 | July 14th, 2008 07:41 AM |
| Password Protected Tabs | AOG123 | Access Database Samples | 3 | June 13th, 2008 03:20 PM |
| Print out data on a letterhead format | Shem | .Net Development | 3 | May 22nd, 2008 09:15 AM |
| format currency to display by thousands | Rebelle | ASP Development | 2 | April 29th, 2008 10:32 PM |