News for hackers. Stuff that matters.
Re:Fuck passwords by matthiasb on Monday December 05, 2011 @10:45AM (#3315013)
I always thought it was done this way to avoid attacks such as XSS, SQL injection and so on. Free text fields are hard to validate and the authentication is usually a very sensitive feature! It seems to be the easy way to be safe (from the developer point of view).
Re:Fuck passwords by manveru on Monday December 05, 2011 @02:21PM (#3315996)
Why would you need to worry about these at all? The password is supposed to be given to bcrypt, and the result from bcrypt is something that's usually not suitable for attacks on anything. So yeah, it may be sensitive, if you store plaintext passwords, but then that'll be the least of your worries.