# Truth Spine proof: MDN's clickjacking checklist says to set the frame-ancestors CSP directive and the X-Frame-Options header

**Problem:** Other sites can show this page inside a frame. Truth Spine record I-0116: https://ursy.com/truth-spine/I-0116/

**Caption.** MDN's clickjacking checklist says to set the frame-ancestors CSP directive and the X-Frame-Options HTTP response header. Truth Spine record I-0116.

**What this picture proves.** The problem is that other sites can show this page inside a frame. MDN's 'Clickjacking' page has a defence checklist whose first item says "Set the frame-ancestors CSP directive and the X-Frame-Options HTTP response header", in order to prevent other sites from embedding your site. Those words back the problem: a page without either rule can be loaded inside a frame on another site.

**What the picture shows.** At the top is a pale grey address strip. Small dark text at the left reads "URSY.com saved copy · read 2026-12-01", and below it a long white rounded bar holds the source address, "https://developer.mozilla.org/en-US/docs/Web/Security/Attacks/Clickjacking", in dark grey sans type with a thin red box drawn round it. Below the strip is the lower part of the saved MDN page: a white middle column with empty white space on both sides. The first line is partly hidden under the strip. The text is dark grey sans type, with code such as "frame-ancestors", "X-Frame-Options", "Lax", "Strict" and "<iframe>" in monospace on pale grey chips, and blue underlined links. A paragraph says browser support for frame-ancestors is very good. Next is the underlined black heading "Restricting cross-site cookies" and a paragraph about the "SameSite" cookie attribute. Then comes the underlined heading "Defense summary checklist" with two bullets. The first bullet is marked by two thin red rectangles: one round the whole first line, "Set the frame-ancestors CSP directive and the X-Frame-Options HTTP response", with both header names as blue monospace links, and a small one round "header" at the start of the second line; the comma and "in order to prevent other sites" sit outside. Below are the underlined heading "See also" and a link "Clickjacking Defense Cheat Sheet at owasp.org" with external-link icons. At the bottom is a pale grey "Help improve MDN" panel with two blue speech-bubble drawings, the question "Was this page helpful to you?", greyed "Yes" and "No" buttons with thumb icons, a "Learn how to contribute" link and "This page was last modified on Feb 2, 2026 by MDN contributors." At the bottom is the URSY.com Truth Spine label, a light blue band under a blue top line. On the left, a small grey line reads "Website problem · Security and HTTPS · official source: MDN". Below it the problem title, "Other sites can show this page inside a frame", is set in big bold navy type, then "Source and record: ursy.com/truth-spine/I-0116/" with the address in blue. On the right is a blue rounded badge with white lettering: "URSY.com", "TRUTH SPINE" and "FACT RECORD I-0116". Under a thin grey rule, the bottom line reads "Every fact on URSY.com is recorded with its source in the URSY.com Truth Spine. Explore them all at ursy.com/truth-spine", with the last address in blue.

**The red outline:** address strip, round the source address: "https://developer.mozilla.org/en-US/docs/Web/Security/Attacks/Clickjacking"; middle of the column, the first bullet under 'Defense summary checklist'; two red outlines, one round the first line and one round 'header' at the start of the second line: "Set the frame-ancestors CSP directive and the X-Frame-Options HTTP response header"

**Printed lines, in reading order:**
- URSY.com saved copy · read 2026-12-01
- https://developer.mozilla.org/en-US/docs/Web/Security/Attacks/Clickjacking **(boxed in red)**
- as well as frame-ancestors, you can prevent embedding in browsers that don't
- support frame-ancestors. As browser support for frame-ancestors is very good, this is not
- a major concern.
- If
- frame-ancestors
- frame-ancestors and X-Frame-Options are both set, then browsers that support
- will ignore X-Frame-Options.
- Restricting cross-site cookies
- As an additional partial mitigation, sites should set the SameSite cookie attribute for session
- cookies to Lax or Strict. Requests from embedded contexts such as <iframe> elements
- that are not same-site with the top-level document will not include these cookies, and the server
- will therefore not treat the request as coming from a logged-in user.
- Defense summary checklist
- Set the frame-ancestors CSP directive and the X-Frame-Options HTTP response **(boxed in red)**
- header, in order to prevent other sites from embedding your site as an **(boxed in red)**
- <iframe>, or to
- strictly control which sites can embed it.
- Set the SameSite cookie attribute for session cookies to Lax or Strict.
- See also
- Clickjacking Defense Cheat Sheet at owasp.org
- Help improve MDN
- Was this page helpful to you?
- Yes | No
- Learn how to contribute
- This page was last modified on Feb 2, 2026 by MDN contributors.
- Website problem · Security and HTTPS · official source: MDN
- Other sites can show this page inside a frame
- Source and record: ursy.com/truth-spine/I-0116/
- URSY.com TRUTH SPINE FACT RECORD I-0116
- Every fact on URSY.com is recorded with its source in the URSY.com Truth Spine. Explore them all at ursy.com/truth-spine

**Where it came from.**
- Source: MDN, "Clickjacking": https://developer.mozilla.org/en-US/docs/Web/Security/Attacks/Clickjacking
- Saved by URSY.com on 1 December 2026 (sha256 e19b123acce4244c67c4e97bbad33c0ff3f28cd81339c2770162adcab3977585).
- Look for public archive copies (a search, not a copy saved by URSY.com): https://web.archive.org/web/2026*/https://developer.mozilla.org/en-US/docs/Web/Security/Attacks/Clickjacking

**The problem, explained, with how to fix it:** https://ursy.com/issues/clickjacking/

Every fact on URSY.com is recorded with its source in the URSY.com Truth Spine: https://ursy.com/truth-spine/

URSY.com - www.ursy.com
