News for hackers. Stuff that matters.
Re:Ask HN: Which login method do you use? by tptacek on Thursday April 23, 2009 @02:46PM (#576252)
Don't use basic auth, lsc.

[Edit] I regret even conceding this point. Even if you use basic auth, the tradeoff here is not complicated.

Re:Ask HN: Which login method do you use? by lsc on Thursday April 23, 2009 @03:02PM (#576281)
the bigger point is that there is a limit to how slow you can make the password checking process. Ok, so let us assume you securely authenticate once per session. How long can that authentication take? I suppose you can put up a little clock... make it take a second and we are talking 11 hours per password, which is starting to get significant... but my point is that the small search space provided by user chosen passwords means that if you make the hash function slow enough to stop an attacker, you are moving into time spaces that users will notice.