Live data from Hacker News

Ask HN: Why not log into web sites via email without any password?

news.ycombinator.com

11–20 of 40 posts

Re: Ask HN: Why not log into web sites via email without any password?

#11
It could be done, and pretty easily too.

To log in, you type in the e-mail. The server sends an email with a link (with secret code), which in turn sets a cookie when visited. The cookie expires in a month or so, and gets refreshed with every visit to the site. So the user only goes through the login process on a new computer.

One problem with this: it's too different from what's in place now. So users will be confused, at least initially. But this is actually an interesting idea.

Re: Ask HN: Why not log into web sites via email without any password?

#12

Because you don't want your sysadmin logging into your favorite dating site as you? If you are going to do this right, you need email encryption. In which case, you have a client-side certificate. In which case, you might as well just authenticate over SSL with that certificate. But hey, why do something secure and built-in to every browser (even IE) when you can invent your own protocol instead? It's the Internet! A…

How come people are not upset that the "forgot password" protocol is not secure?

Re: Ask HN: Why not log into web sites via email without any password?

#13

Because you don't want your sysadmin logging into your favorite dating site as you? If you are going to do this right, you need email encryption. In which case, you have a client-side certificate. In which case, you might as well just authenticate over SSL with that certificate. But hey, why do something secure and built-in to every browser (even IE) when you can invent your own protocol instead? It's the Internet! A…

Well, the sysadmin could click on "restore password" on that super-secret site they want to steal your password to, and then check your mailbox. So this is really no different in terms of security.

Also, I'm sure I have a dozen restore password emails in GMail somewhere. And I'm sure I'm not alone.

Re: Ask HN: Why not log into web sites via email without any password?

#14
If you mean logging in via clicking a link in an email then it is too much of a security risk. Think of all the places that URL can end up in: browser history, bookmarks, etc.

It works for password reset because the window of opportunity is small (just a few minutes) and it is a once-only operation (visiting the URL again should not reset your password again).

Re: Ask HN: Why not log into web sites via email without any password?

#15

If you mean logging in via clicking a link in an email then it is too much of a security risk. Think of all the places that URL can end up in: browser history, bookmarks, etc. It works for password reset because the window of opportunity is small (just a few minutes) and it is a once-only operation (visiting the URL again should not reset your password again).

The URL would be different every time.

Re: Ask HN: Why not log into web sites via email without any password?

#16
I suspect one strong reason against is because it would require you to be near your email client, or to use a webmail service for all online logins. Currently that requirement applies only when you register or forget your password. If your address is a company one, without web access, you won't be able to access any of your online resources.

What about the browser automating the procedure to openid?

Re: Ask HN: Why not log into web sites via email without any password?

#17

Because you don't want your sysadmin logging into your favorite dating site as you? If you are going to do this right, you need email encryption. In which case, you have a client-side certificate. In which case, you might as well just authenticate over SSL with that certificate. But hey, why do something secure and built-in to every browser (even IE) when you can invent your own protocol instead? It's the Internet! A…

Dating sites is an interesting example because OK Cupid does exactly this. They send occasional emails with a "Login Instantly" button which contain an authentication token.

In general, if someone can read your email, they can steal almost any of your accounts. Are email accounts generally that insecure? I trust any major Webmail provider to not steal my bank account, but is trust the only thing really keeping our bank accounts secure?

If we really are that insecure, then people are probably going to attack your bank account long before they attack your random web-app account. If your site isn't guarding valuables, it's probably perfectly "safe" to send authentication tokens in mail messages. No?

Re: Ask HN: Why not log into web sites via email without any password?

#18
post #11

It could be done, and pretty easily too. To log in, you type in the e-mail. The server sends an email with a link (with secret code), which in turn sets a cookie when visited. The cookie expires in a month or so, and gets refreshed with every visit to the site. So the user only goes through the login process on a new computer. One problem with this: it's too different from what's in place now. So users will be confus…

Another problem in my mind is that we have a dependency created between me being able to access a particular email account and me being able to access the website I want to get into. That is, what if I originally signed up with my not@any.com address, but I'm at work, my work blocks the webmail interface that would have allowed me to access my not@any.com account and now I can't login to the website I really wanted to get to either.

This topic has been up for a whole hour and no comment from tptacek? What's going on??

Re: Ask HN: Why not log into web sites via email without any password?

#20

Because you don't want your sysadmin logging into your favorite dating site as you? If you are going to do this right, you need email encryption. In which case, you have a client-side certificate. In which case, you might as well just authenticate over SSL with that certificate. But hey, why do something secure and built-in to every browser (even IE) when you can invent your own protocol instead? It's the Internet! A…

How come people are not upset that the "forgot password" protocol is not secure?

People are upset about how insecure email password reset is.
Post reply on HN