I am new to the Zend framework and want to create an application with fairly strong password protection. I am trying to follow user instructions regarding stick salting, but still no luck. I installed my adapter for the database and the table (as described in the documentation on the Zend Framework website, but it does not seem to complete the example (or I'm not familiar enough!) I started with:
$authAdapter = new Zend_Auth_Adapter_DbTable($dbAdapter,
'users',
'username',
'password', "MD5(CONCAT('".Zend_Registry::get('staticSalt')."', ?, password_salt))"
);
But from here, what is done with salt passwords? I just need an example, and I'll be far away! Does anyone have an example or point me in the right direction?
Many thanks!
source
share