Headers Security
high Severity
Free Check

Frame Security Policy (X-Frame-Options)

Controls whether your page can be embedded in iframes on other sites, protecting against clickjacking.

Test Your Website for Frame Security Policy (X-Frame-Options)

Run this check along with 90+ automated tests across your domain.

Why It Matters

Clickjacking deceives users into clicking hidden buttons or sensitive actions (e.g. wire transfers or profile deletion) overlaid inside transparent iframes.

How We Check This

We check for X-Frame-Options set to DENY or SAMEORIGIN, or CSP frame-ancestors directive.

How to Fix & Implement

Copy-paste configuration blocks tailored for your web server or edge proxy.

nginx snippet
add_header X-Frame-Options "DENY" always;

Frequently Asked Questions

Is X-Frame-Options deprecated in favor of CSP?

CSP frame-ancestors is more modern, but setting X-Frame-Options: DENY ensures legacy browser protection.