Skip to content

Commit

Permalink
Add X-Frame-Options header (prevent clickjacking)
Browse files Browse the repository at this point in the history
  • Loading branch information
jekkos committed Aug 30, 2021
1 parent 77c30b7 commit 2c9355e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .htaccess
Expand Up @@ -9,6 +9,7 @@
# disable directory browsing
# For security reasons, Option all cannot be overridden.
Options +SymLinksIfOwnerMatch -Indexes
Header always set X-Frame-Options SAMEORIGIN

# prevent folder listing
IndexIgnore *
Expand Down

0 comments on commit 2c9355e

Please sign in to comment.