Created
September 5, 2018 17:39
-
-
Save nbeguier/350ee15fb39fae191ddc91df86f456d7 to your computer and use it in GitHub Desktop.
Apache : ETag and Anti-clickjacking
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
# Server leaks inodes via ETags: No | |
FileETag None | |
Header unset ETag | |
# Anti-clickjacking X-Frame-Options header | |
<filesMatch "\.(php)$"> | |
Header always append X-Frame-Options DENY | |
</filesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment