CS Fundamentals Trainer · JavaScript · Security
You want only https://partner.example to be able to embed your page in an iframe, in current Chrome, Firefox and Safari. Which response…
You want only `https://partner.example` to be able to embed your page in an iframe, in current Chrome, Firefox and Safari. Which response header does that?
- `X-Frame-Options: ALLOW-FROM https://partner.example`
- `Content-Security-Policy: frame-ancestors https://partner.example`
- `Access-Control-Allow-Origin: https://partner.example`
- `Cross-Origin-Opener-Policy: same-origin-allow-popups`
Difficulty: medium