Skip to content

Instantly share code, notes, and snippets.

@nbeguier
Created September 5, 2018 17:39
Show Gist options
  • Save nbeguier/350ee15fb39fae191ddc91df86f456d7 to your computer and use it in GitHub Desktop.
Save nbeguier/350ee15fb39fae191ddc91df86f456d7 to your computer and use it in GitHub Desktop.
Apache : ETag and Anti-clickjacking
# 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