X-Frame-Options

Whether the page may be shown in a frame.

Response header (sent by servers) security

How it works

DENY blocks clickjacking. The modern equivalent is CSP frame-ancestors.

Example

X-Frame-Options: DENY

See it live: send any request in Endpoint Client and open the Headers tab, where every response header is explained. Specification: RFC 7034.

Related headers