Why username and password?
After implementing dozens of login scripts, it suddenly struck me that I have no idea why there is both a username and a password. Why not just a password? After logging in, the user is identified by a user id, not the username, so that can't be the reason.
What would happen if 2 users had the same password?
Same thing that happens if 2 users have the same username/password combination .... oh, I get it.
The other reason is all those common passwords, like 'password', 'fred', 'letmein', 'guess', etc, etc.
Because if you have only a password, there's no possible way to recover your account if you forget your password.
And because it means you can have an easily identifiable userId, that can be public, without people being able to log in as you.
I think it's a great idea! Log in straight away with 'zbcvbvcbvcz' instead of 'jake132/zbcxzvcbbcz'.
I often thought of the eMail field on this forum as a sort of password. If someone else posted as www.MarkTAW.com I could dispute it by asking the folks at fog to check that person's given eMail address against mine.
Alex, a lot of sites use email/password instead of username/password.
The IBM System/38 only used passwords, and yes, people would often use other peoples user id by guessing words.
I belong to a business organization that uses only a password to gain member access to their website. The password seems to be a random hash assigned by the admin. If you forget the password you use a link in which you enter your organization's email address, and it must match the email address on file in order to initiate a send of the password back to your email account.
This reminds me of when CDNOW didn't require a unique user name. I think they used "<first-name> <last-name>". It was trivial to hack into a user account using something like "John Smith" with the password "cdnow".
having 2 variables also multiples the search space of the 2 variable thanks to the existing of the first variable. This depends on you having enough population in the first variable to increase the space significantly.
So should we have 3 variables?
son of parnas
Is that an African Swallow or a European Swallow?
Long random passwords, assigned by the system admin is great.. If you only ever need to log in to one system.
Fog Creek Home