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

Set the X-Frame-Options header to “SAMEORIGIN” to prevent clickjacking attacks #272

Closed
AlanDalton opened this issue Jul 11, 2021 · 1 comment

Comments

@AlanDalton
Copy link

Setting the site’s “X-Frame-Options” header to “SAMEORIGIN” would tell browsers to not allow the site to be framed. That should help prevent clickjacking attacks. See https://scotthelme.co.uk/hardening-your-http-response-headers/#x-frame-options

@maebeam
Copy link
Contributor

maebeam commented Jul 11, 2021

We set frame-ancestor 'self' in the CSP which accomplishes the same thing.

@maebeam maebeam closed this as completed Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants