Excerpt from the assignment given as part of the "server-side programming" module:
If the username and password are not correct, open a window, displaying “The login failed!”. Also display whether username or password is incorrect.
To all non-programmers on my friends list: can you figure out why this would be a bad and wrong thing to do? 8^]
Tags:
From:
no subject
That's a standard thing to check for when reviewing security on an IT system. They are naughty in my sight, and you can tell them so!
From:
no subject
From:
no subject
(not a programmer)
From:
no subject
Btw, somebody investigating myspace passwords found that the most common password was... wait for it... "password". 8^)
From:
no subject
From:
no subject
From:
no subject
"Also display whether username or password is incorrect."
I realise now the whether means "which one is wrong", but it could mean display if the username is wrong, or if the password is wrong (i.e. which one is wrong does not matter).
From:
no subject
From:
no subject
From:
no subject
http://lab.mediaservice.net/advisory/2003-01-openssh.txt
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0190
From:
no subject
From:
no subject
A system which says one of "username does not exist" or "password incorrect" (as I believe Livejournal will do) is fine, and in fact is what I'll probably actually implement for the assignment.