5 ms·
FTA: > and session cookies don't default to http-only flags (allowing XSS attacks to steal them). Can someone explain that to me?
by pc86 13y ago
FTA:
> and session cookies don't default to http-only flags (allowing XSS attacks to steal them).
Can someone explain that to me?
- cryptolect 13y agoTake a look here: https://www.owasp.org/index.php/HttpOnly https://www.owasp.org/index.php/HttpOnly
- dminor 13y agoSetting this flag on a cookie means it can't be accessed from JavaScript, so a malicious script won't be able to determine your session (for instance).