1
0
mirror of https://github.com/2ec0b4/kaamelott-soundboard.git synced 2025-12-08 23:53:24 +00:00

Bloque l'affichage du site dans une iframe

This commit is contained in:
Antoine
2017-01-23 21:48:58 +01:00
parent 93a14afd04
commit e677181025
2 changed files with 6 additions and 7 deletions

View File

@@ -108,13 +108,11 @@
</IfModule>
# Avoid Clickjacking and enable XSS-protection for browsers
<FilesMatch "\.(pl|php|cgi|spl)$">
<IfModule mod_headers.c>
# security
Header set X-Frame-Options "DENY"
Header set X-XSS-Protection "1; mode=block"
</IfModule>
</FilesMatch>
<IfModule mod_headers.c>
# security
Header set X-Frame-Options "DENY"
Header set X-XSS-Protection "1; mode=block"
</IfModule>