Cross-Origin-Resource-Policy
Cross-Origin-Resource-Policy (CORP) is an HTTP response header that a resource sends to limit who may load it. The browser blocks a no-cors load from a page that the value does not allow.
HTTP header
Also called CORP
Updated
On this page
Example
HTTP response header
Cross-Origin-Resource-Policy: same-site
If this header is on https://cdn.example.com, pages on example.com and its subdomains can load the resource. Pages on other sites cannot.
How to set it
Send the header with the resource, such as an image, a script, or a page that goes in a frame. Pick the narrowest value that still lets your pages load it.
Cross-Origin-Resource-Policy: same-origin
CORP does not stop other sites from framing your page. Use CSP frame-ancestors for that.
Learn more
Sources