Permalink
Browse files

Bloque l'affichage du site dans une iframe

  • Loading branch information...
2ec0b4 committed Jan 23, 2017
1 parent 93a14af commit e677181025a56c2efb44343f0e9a7476f540100a
Showing with 6 additions and 7 deletions.
  1. +5 −7 .htaccess
  2. +1 −0 index.html
View
@@ -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>
View
@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="description" content="Quelques-unes des meilleures répliques sonores de Kaamelott. C'était ça ou chante Sloubi.">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta http-equiv="X-Frame-Options" content="deny">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>Kaamelott Soundboard</title>

0 comments on commit e677181

Please sign in to comment.