Skip to content

Commit 5e69bc8

Browse files
authored
Update Clickjacking_defense_cheatsheet (#1889)
1 parent 47d7431 commit 5e69bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cheatsheets/Clickjacking_Defense_Cheat_Sheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To implement this protection, you need to add the `X-Frame-Options` HTTP Respons
7979

8080
### Common Defense Mistakes
8181

82-
Meta-tags that attempt to apply the X-Frame-Options directive DO NOT WORK. For example, `<meta http-equiv="X-Frame-Options" content="deny">` will not work. You must apply the X-FRAME-OPTIONS directive as HTTP Response Header as described above.
82+
Meta-tags that attempt to apply the X-Frame-Options directive DO NOT WORK. For example, `<meta http-equiv="X-Frame-Options" content="deny">` will not work. You must apply the X-FRAME-OPTIONS directive as HTTP Response Header as described above. The same rule also applies to the Content Security Policy (CSP) directive `frame-ancestors`, which must be configured as an HTTP Response Header, not in a `<meta>` tag.
8383

8484
### Limitations
8585

0 commit comments

Comments
 (0)