Salting example in Zend Framework

Posted by Geoffrey on Stack Overflow See other posts from Stack Overflow or by Geoffrey
Published on 2010-06-14T09:27:25Z Indexed on 2010/06/14 9:32 UTC
Read the original article Hit count: 298

Filed under:
|
|

Hello all,

I am pretty new to the Zend framework and looking to build an application with pretty tight password security. I have been trying to follow the user guides in relation to password salting but haven't had any luck so far. I have setup my database and table adapter (As described in the documentation on the Zend Framework site but it didn't seem to finish the example (or I am not following well enough!) I have 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 the password salt? I just need an example and I'll be away! Does anyone have an example or point me in the right direction??

Many thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-framework