Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Everything you ever wanted to know about building a secure password reset (2012).
Limit the rate of both reset and reset re-email attempts (X within Y).
Email the link that should expire on first use and set an expirable token param to complete the reset.
Required login again to make sure people know their password.
Form POST.
Platform-Agnostic Security Tokens (PAST), not JSON Web Tokens (JWT) for headless API calls.
CSRF (form hidden) token.
Always https. Disable http.
There are no comments on this comment yet.
Limit the rate of both reset and reset re-email attempts (X within Y).
Email the link that should expire on first use and set an expirable token param to complete the reset.
Required login again to make sure people know their password.
Form POST.
Platform-Agnostic Security Tokens (PAST), not JSON Web Tokens (JWT) for headless API calls.
CSRF (form hidden) token.
Always https. Disable http.