Guide
Intermediate
Real Projects
CSRF, CORS and SameSite Cookies: What Each One Protects and How to Configure Them Without Mixing Them Up
Clear up the difference between origin and site, what CORS does (and does not do), how SameSite cookies work, and when to add CSRF tokens or Fetch Metadata. With FastAPI and JavaScript examples.
14 minutes read
Josue Puig
0 views
csrf
cors
seguridad
FastAPI
Was this resource helpful?
Share your comments or suggestions to improve our content.