User Authentication

Ng Pheng Siong ngps at netmemetic.com
Tue Nov 25 20:10:12 EST 2003


According to Lucas Raab <lvraab at earthlink.net>:
> I would like to be able to write a username/password authentication program
> using the SHA or MD5 algorithms. How is the best way going about this and
> making a file where the stored usernames and passwords are kept and
> comparing that to what user types in?

Look at Zope's zpasswd.py. Remember to add salt; Zope's doesn't.


-- 
Ng Pheng Siong <ngps at netmemetic.com> 

http://firewall.rulemaker.net  -+- Manage Your Firewall Rulebase Changes
http://sandbox.rulemaker.net/ngps -+- Open Source Python Crypto & SSL




More information about the Python-list mailing list