docs.rodeo

MDN Web Docs mirror

Same-origin policy

{{GlossarySidebar}} 

The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one {{Glossary("origin")}}  can interact with a resource from another origin.

It helps isolate potentially malicious documents, reducing possible attack vectors.

See also

In this article

View on MDN