What are the pros and cons of using an email as a username?
You know most login forms use user & pass.
And some go the email & pass. What are the pros and cons of them? Here is what I have thought of.
PROS of email
CONS
I do believe this is programming related because ease of use of a web application is something important that shouldn't be overlooked.
另外要记住的是,如果其他用户也可以看到“用户名”,则由于隐私问题,您不应使用邮件地址。
OpenID and OAuth .....It just appears better. Even less users to manage for them and it makes migrating in one place easier on a change.
Yes, you have to be careful. I would insist that the backup email address (an additional profile field) is different than the email address they are using for the user. Many systems also have some other fields that then can use to authenticate themselves if things get really hairy. At this point though, it would frequently require a tech support call.
Depending on the type of system, using email may be a security vulnerability. I know your email address, I don't know what you might put into a username prompt. If being able to easily guess a username is an issue, then I would not use email address.
Email makes a good username as long as you provide a means for changing the email address. LinkedIn provides this as you create an account with an email as the username. They also allow you (once logged in) to change the primary email address which then changes your username to be that email address.
As long as you do something like this then you should be all set.
链接地址: http://www.djcxy.com/p/92906.html下一篇: 使用电子邮件作为用户名有什么优点和缺点?