files/en-us/web/http/reference/headers/cross-origin-resource-policy/index.md
The HTTP Cross-Origin-Resource-Policy {{Glossary("response header")}} (CORP) indicates that the browser should block no-cors cross-origin or cross-site requests to the given resource.
It specifies resource owner's policy for what sites/origins should be allowed to load this resource.
<table class="properties"> <tbody> <tr> <th scope="row">Header type</th> <td>{{Glossary("Response header")}}</td> </tr> </tbody> </table>Cross-Origin-Resource-Policy: same-site | same-origin | cross-origin
same-site
same-origin
cross-origin
For more examples, see https://resourcepolicy.fyi/.
The Cross-Origin-Resource-Policy header below will cause compatible user agents to disallow cross-origin no-cors requests:
Cross-Origin-Resource-Policy: same-origin
{{Specifications}}
{{Compat}}