Posts tagged “cors”

  1. 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…

    · 5 min read · Security