Closed
Conversation
"Setting this directive to 'none' is similar to X-Frame-Options: deny (which is also supported in older browsers)." https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors
tdelmas
approved these changes
Jul 10, 2020
tdelmas
suggested changes
Dec 21, 2020
Contributor
tdelmas
left a comment
There was a problem hiding this comment.
Could you add the same change in config/_default/server.toml?
bdaehlie
reviewed
Sep 28, 2023
tdelmas
approved these changes
Sep 28, 2023
Contributor
|
@scottmakestech Can you review this? Is it still a desirable and non-breaking thing to do? |
scottmakestech
added a commit
that referenced
this pull request
Feb 13, 2026
… an iframe. Fixes #1080.
scottmakestech
added a commit
to abetterinternet/website
that referenced
this pull request
Feb 13, 2026
Sets frame-ancestors property to none to prevent nesting this site in an iframe. Although we already set X-Frame-Options to deny, this is the modern CSP method for declaring this setting. Sees letsencrypt/website#1080 and letsencrypt/website#2148.
scottmakestech
added a commit
to divviup/website
that referenced
this pull request
Feb 13, 2026
Adds X-Frame-Options and CSP frame-ancestors headers to prevent this site from being embedded in an iframe on other domains. X-Frame-Options is the legacy header; frame-ancestors is the modern CSP equivalent. Both are set for maximum browser compatibility. See letsencrypt/website#1080 and letsencrypt/website#2148.
This was referenced Feb 13, 2026
scottmakestech
added a commit
to memorysafety/website
that referenced
this pull request
Feb 13, 2026
Adds X-Frame-Options and CSP frame-ancestors headers to prevent this site from being embedded in an iframe on other domains. X-Frame-Options is the legacy header; frame-ancestors is the modern CSP equivalent. Both are set for maximum browser compatibility. See letsencrypt/website#1080 and letsencrypt/website#2148.
scottmakestech
added a commit
to abetterinternet/website
that referenced
this pull request
Feb 13, 2026
Sets frame-ancestors property to none to prevent nesting this site in an iframe. Although we already set X-Frame-Options to deny, this is the modern CSP method for declaring this setting. Sees letsencrypt/website#1080 and letsencrypt/website#2148.
scottmakestech
added a commit
to divviup/website
that referenced
this pull request
Feb 13, 2026
Adds X-Frame-Options and CSP frame-ancestors headers to prevent this site from being embedded in an iframe on other domains. X-Frame-Options is the legacy header; frame-ancestors is the modern CSP equivalent. Both are set for maximum browser compatibility. See letsencrypt/website#1080 and letsencrypt/website#2148.
scottmakestech
added a commit
to memorysafety/website
that referenced
this pull request
Feb 13, 2026
Adds X-Frame-Options and CSP frame-ancestors headers to prevent this site from being embedded in an iframe on other domains. X-Frame-Options is the legacy header; frame-ancestors is the modern CSP equivalent. Both are set for maximum browser compatibility. See letsencrypt/website#1080 and letsencrypt/website#2148.
pull bot
pushed a commit
to johnperez416/website
that referenced
this pull request
Feb 14, 2026
Sets frame-ancestors property to none to prevent nesting this site in an iframe. Although we already set X-Frame-Options to deny, this is the modern CSP method for declaring this setting. Fixes letsencrypt#1080.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"Setting this directive to 'none' is similar to X-Frame-Options: deny (which is also supported in older browsers)."
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors