2 ms·
Interesting. I did not make an account to try it out, so the following suggestions are for this kind of scheme in general. 1. The mailed login link should be o
by tzs 14y ago
Interesting. I did not make an account to try it out, so the following suggestions are for this kind of scheme in general.
1. The mailed login link should be only good for a single use.
2. This should be handled as a service by a third party site (similar to the way OpenID works). The mailed login link would link to the third party site, which then redirects to the destination if the login is valid.
The idea behind #1 is that if someone gets into your email, they should not be able to simply follow any old login links you've failed to delete. Best practice would be to delete the mails as soon as you click the link, but people will forget so the system should be designed with that in mind.
The idea behind #2 is that someone who gets into your email should not be able to tell from your old login links where you have accounts. If he could, he could simply go to those sites and make then initiate sending a new login link.
3. When you tell a site to send you a login link, the site should assign a random PIN to that login link and tell you (on the website) that PIN. The login link validator site should require you to enter that PIN before redirecting to the final destination site.
This is to prevent an intruder in your email from getting to an unused login link before you do and using it.