PDA

View Full Version : Best Password Protection Practice??



upyourmedia
27 May 2009, 12:10 PM
Hi, I'm trying to protect an area of a website for about 30 or so government types. I have it set up right now with simple htaccess but I want it to provide a way to remember lost passwords. I'm more proficient in perl than other server side languages. Any recommended scripts or practices? Thanks

is_numeric
02 Jun 2009, 12:57 PM
i normally use PHP to do this

would normally hash them during registration and then store them encrypted (SHA and MD5)

You would have to convert the field input into the hash before performing the lookup in the db