User Authentication

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lucas Raab

    User Authentication

    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?

    Many thanks


  • Paul Rubin

    #2
    Re: User Authentication

    "Lucas Raab" <lvraab@earthli nk.net> writes:[color=blue]
    > 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?[/color]

    Umm. Be a little careful about this. Can you say more about the
    specific application?

    Comment

    • Ng Pheng Siong

      #3
      Re: User Authentication

      According to Lucas Raab <lvraab@earthli nk.net>:[color=blue]
      > 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?[/color]

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


      --
      Ng Pheng Siong <ngps@netmemeti c.com>

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

      Comment

      Working...