Web Security
How to protect a website and its users: common attacks, safe defaults and handling tokens.
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
Web Security
XSS and CSRF Explained: How They Work and How to Stop Them
Cross-site scripting and cross-site request forgery explained with examples: how each attack works, how they differ, and the defences that stop them.
· 8 min read