The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

secure web login by dennismv2007-12-26 11:47:50
  You probably know where the devil is ... by PeKaJe 2007-12-26 12:18:03
* This is only secure if the HTML form is on an encrypted page.
* Always use hashed passwords. A users password should not be stored anywhere, as it could be stolen. There is also no technical need to keep it, once the hash has been generated.
* If the site is not on a secure connection, cookies can be sniffed, so the back-end should ideally check that a session cookie with a unique ID only comes from one IP address. It should then be sufficient to identify the person for the duration of the session.
* Some sites use a simple hashed password and username as identification when using auto-login. However, since cookies can be intercepted under some circumstances, I don't consider this very secure. Of course, someone using auto-login probably aren't paranoid with security, but I'd suggest a system where the auto-login is time-limited, so that the "secret" hash is occasionally changed. One can also "rotate" it every time the person logs on, but that wouldn't work too well if the person uses the site from multiple locations.

Just a few random thoughts on the issue, so take it with 64.8 mg NaCl ... :-)
[ Reply ]
    yeeeh-si by dennismv2007-12-26 12:29:10
      Yes, I did consider that by PeKaJe2007-12-26 12:37:20
      If you are Following PCI compliance anywhere by Classic_Jon2007-12-26 13:04:23
    ^ ^ ^ Abso-freakin-lutely. (n/t) by Twitchh2007-12-26 12:30:53

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)