Back to Glossary
SecurityIntermediate

What is CORS (Cross-Origin Resource Sharing)?

A security mechanism that controls which websites can make requests to your server.

Why It Matters

CORS prevents malicious websites from making unauthorised requests to your API using your users' credentials.

Real-World Example

Configuring your API to only accept requests from your own domain, blocking requests from unknown sites.

“Understanding terms like CORS (Cross-Origin Resource Sharing) matters because it helps you have better conversations with developers and make smarter decisions about your software. You do not need to be technical. You just need to know enough to ask the right questions.”

Callum Holt, Founder, 13Labs

Learn More at buildDay Melbourne

Want to understand these concepts hands-on? Join our one-day workshop and build a real web application from scratch.