Web & application

COEP

Cross-Origin-Embedder-Policy

A response header requiring every cross-origin subresource a page loads to opt in via CORS or CORP, or be loaded without credentials.

Cross-Origin-Embedder-Policy: require-corp blocks cross-origin images, scripts and frames unless they send Cross-Origin-Resource-Policy or are fetched with CORS. credentialless loads them without cookies instead, which is easier to adopt.

Together with COOP it enables cross-origin isolation, which browsers require before exposing SharedArrayBuffer and high-resolution timers, the primitives that made Spectre-style reads of cross-origin data practical. The goal is that nothing secret from another origin ends up in your process uninvited.

Adoption pain is third-party embeds (ads, analytics, video) that do not send CORP headers.

Learn it properly

Related terms