Hexret

Web Security · Client-side

CSP frame-ancestors

Also known as: frame-ancestors

A CSP directive controlling which ancestor pages may embed a document. Send it in the response header. frame-ancestors 'none' blocks framing. This reduces clickjacking exposure. A meta element does not enforce this directive.

Where you practice it

Related terms