#Xss
2 notas · última:
How to securely store JWT tokens
The article argues that JWTs should not be stored in local storage or session storage, recommends browser memory only with re-login on refresh, and favors cookies with HttpOnly, Secure, and SameSite settings to reduce XSS and CSRF risk.
CORS, XSS and CSRF with examples in 10 minutes
The article introduces CORS, XSS, and CSRF, shows how each attack works, and explains practical defenses such as server headers, input handling, CSRF tokens, and SameSite cookies.
