XFrame | Website Embedability Checker

Enter a URL to load the iframe

What is clickjacking and how can I prevent it?

Clickjacking tricks users into clicking hidden elements. Prevent it with X-Frame-Options: DENY or CSP frame-ancestors "none".

How does X-Frame-Options: SAMEORIGIN work?

It restricts iframe embedding to only the same origin as the page, blocking external sites from framing your content.

How does CSP frame-ancestors stop clickjacking?

It specifies which origins can embed your page in an iframe, e.g., frame-ancestors "self" limits it to your own site.

Can CSP frame-ancestors replace X-Frame-Options?

Yes, it is more flexible and modern, but older browsers may only support X-Frame-Options, so use both for compatibility.
It takes 20 years to build a reputation and few minutes of cyber-incident to ruin it - Stephane Nappo
Tool by Anup Gopi