Authentication
Articles and practice problems tagged Authentication.
Articles
Web Security
Access Token Best Practices: Storage, Expiry and Rotation
How to handle access tokens safely: where to store them in the browser, how long they should live, refresh token rotation, validation, revocation and logging.
· 9 min read
Web Security
Access Tokens and Refresh Tokens Explained
What access tokens and refresh tokens are, how the two work together, how JWTs differ from opaque tokens, and what a server must check before trusting one.
· 8 min read
Web Security
How to Secure a Website: 12 Practical Steps
A practical website security checklist: HTTPS, safe password storage, input validation, XSS and CSRF defences, security headers, access control and secrets.
· 10 min read