Web Security · Client-side
Cross-origin resource sharing
Also known as: CORS
A browser mechanism that uses response headers to permit selected cross-origin reads. Permission to send a request and permission to read its response are different. CORS does not authenticate callers or replace CSRF defenses.
Where you practice it
- Permissive Origin and CredentialsWeb Security · CORS MisconfigurationPractice this lesson →
- The Browser Security ModelWeb Security · Web FoundationsPractice this lesson →
- Classic CSRF: Forging State-Changing RequestsWeb Security · Cross-Site Request ForgeryPractice this lesson →
- CSRF in JSON APIs, CORS & Preflight GapsWeb Security · Cross-Site Request ForgeryPractice this lesson →
- HTTP Transport, CSRF, and Upload PreflightsWeb Security · GraphQL SecurityPractice this lesson →
- CORS DefenseWeb Security · CORS MisconfigurationPractice this lesson →