Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Content Security Policy to block loading in an iframe #76

Open
TravisSpomer opened this issue May 27, 2022 · 0 comments
Open

Use Content Security Policy to block loading in an iframe #76

TravisSpomer opened this issue May 27, 2022 · 0 comments

Comments

@TravisSpomer
Copy link
Owner

Block loading from any iframe:

X-Frame-Options: DENY
Content-Security-Policy: frame-ancestors 'none'

Block loading from any iframe not from the same domain:

X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Eventually
Development

No branches or pull requests

1 participant