![]() |
![]() |
![]() |
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.
RB
What would happen if 2 users had the same password?
Matthew Lock
Same thing that happens if 2 users have the same username/password combination .... oh, I get it.
RB
The other reason is all those common passwords, like 'password', 'fred', 'letmein', 'guess', etc, etc.
Ged Byrne
Because if you have only a password, there's no possible way to recover your account if you forget your password.
Mr Jack
And because it means you can have an easily identifiable userId, that can be public, without people being able to log in as you.
Mr Jack
Exactly.
www.MarkTAW.com
I think it's a great idea! Log in straight away with 'zbcvbvcbvcz' instead of 'jake132/zbcxzvcbbcz'.
Alex
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.
www.MarkTAW.com
Alex, a lot of sites use email/password instead of username/password.
Philo
The IBM System/38 only used passwords, and yes, people would often use other peoples user id by guessing words.
Bill
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.
Bored Bystander
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".
SomeBody
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.
Li-fan Chen
So should we have 3 variables?
son of parnas
Name:
Philo
Is that an African Swallow or a European Swallow?
www.MarkTAW.com
Long random passwords, assigned by the system admin is great.. If you only ever need to log in to one system.
Mister Fancypants
|