Cross-origin isolation headers (COOP, COEP, CORP)

What the Cross-Origin-Opener-Policy, Cross-Origin-Embedder-Policy and Cross-Origin-Resource-Policy headers do, and why a missing one is only an info note.

What AuditX checks

The scan reads the response headers your page was served with and looks for any one of three headers: Cross-Origin-Opener-Policy, Cross-Origin-Embedder-Policy or Cross-Origin-Resource-Policy. It passes when at least one of them is present with a value. It gives an info note when none is. It never warns or fails, so a missing header does not count against your score. The scan does not read the value, so any setting counts, including the most relaxed ones. Only the page you scanned is looked at. This check has no not-measured state.

Why it matters

These headers let a site separate itself from other sites in the browser. Cross-Origin-Opener-Policy cuts the link between your page and a page from another site that opened it, or that it opened in a pop-up. The other two control which sites may load your files, and which outside files your page may load.

This is extra hardening, not a basic fix. A header set the wrong way can break things such as sign-in or payment pop-ups, so it is worth setting carefully, and only when you understand what your pages load.

How to fix it

  1. Decide whether you need it. A simple brochure site can safely leave these headers out. They matter more for sites that handle logins or private data.
  2. To start, add Cross-Origin-Opener-Policy: same-origin-allow-popups. It keeps the link to pop-ups your own page opens, which is the safer first step. Use same-origin only after you have tested.
  3. Add Cross-Origin-Resource-Policy: same-origin only if no other site needs to load your images, scripts or fonts. If you serve files to partners or a CDN on another domain, leave it out or use same-site.
  4. After the change, test sign-in, payment and any embedded content in your browser. If something breaks, remove the header and try a looser value.
# nginx
add_header Cross-Origin-Opener-Policy "same-origin-allow-popups" always;

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.