Posts tagged “cors”
-
CSRF, CORS and SameSite cookies: what each actually protects
CORS doesn't protect your server; it decides which other sites may read your responses in a browser. CSRF is another site making the browser send a request with your cookies, and SameSite cookies stop most of it, but not all. Fetch Metadata headers and a CSRF token close the rest. What each layer…