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:
12
.htaccess
12
.htaccess
@@ -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>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user