Old 31-10-2006, 16:08   #1 (permalink)
Larixk
Senior Member
 
Larixk's Avatar
 
Join Date: Sep 2006
Location: Utrecht, Netherlands
Posts: 993
Send a message via MSN to Larixk
Storing Passwords and stuff

What's the best way to store a username/password in a MYSQL db?
I've got my own ideas but isn't there an industry standard or something?
  Reply With Quote
Old 31-10-2006, 16:51   #2 (permalink)
freelancr
Senior Member
 
freelancr's Avatar
 
Join Date: Oct 2006
Posts: 2,098
search google for Encryption, Hashing and Salting.
  Reply With Quote
Old 03-11-2006, 19:21   #3 (permalink)
adminitrator
Registered User
 
Join Date: Oct 2006
Location: Cornwall, UK
Posts: 95
Send a message via MSN to adminitrator
if you are using php (probs) then you can use the
PHP Code:
md5($mystr); 
function to encrypt the password to stop people seeing the password on the fly but if someone had enough time they could brute-force it and find it out some time. i don't know much about any other encryption systems but there are several other systems which use salt and pepper form where it uses a number to decide how it will encrypt and decrypt the data but i don't think there is any 100% hacker proof encryption system anywhere.
hth, adminitrator
  Reply With Quote
Old 07-11-2006, 07:01   #4 (permalink)
combat sheep
Trained to Kill.
 
combat sheep's Avatar
 
Join Date: Oct 2006
Location: Southport, UK
Posts: 308
Send a message via MSN to combat sheep
md5 and make sure your sites are secure, then all will be well
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8