Skip to content

Commit 6f32625

Browse files
committed
System: Security: Add header rule to avoid MIME-sniffing
1 parent 3b487a5 commit 6f32625

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.htaccess

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,7 @@ AddType application/font-woff .woff .woff2
113113
#<IfModule mod_headers.c>
114114
# Header always set Content-Security-Policy "upgrade-insecure-requests;"
115115
#</IfModule>
116+
117+
<IfModule mod_headers.c>
118+
Header always set X-Content-Type-Options nosniff
119+
</IfModule>

0 commit comments

Comments
 (0)