note 53547 deleted from security.database.storage by joey

From: Date: Wed, 29 Dec 2010 03:23:44 +0000
Subject: note 53547 deleted from security.database.storage by joey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175295@lists.php.net to get a copy of this message
Note Submitter: Chris Ladd ---- Using a hard coded salt will only prevent a dictionary attack on the raw database and only if the attacker hasn't gained access to the file the salt is stored in. The attacker could still use the php login site to run a dictionary attack, since the php would be adding the hard coded salt to the password, md5ing it, and checking if it matches. The only real way to prevent a dictionary attack is to not allow weak passwords. There is no shortcuts in real security.

« previous php.notes (#175295) next »