Skip to content

Commit 9c1f87e

Browse files
committed
Set X-Content-Type-Options "nosniff" header.
1 parent 6b2e44a commit 9c1f87e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

server/php/files/.htaccess

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ ForceType application/octet-stream
77
ForceType none
88
</FilesMatch>
99

10+
# Prevent IE from MIME-sniffing:
11+
Header set X-Content-Type-Options "nosniff"
12+
1013
# Uncomment the following lines to prevent unauthorized download of files:
1114
#AuthName "Authorization required"
1215
#AuthType Basic

0 commit comments

Comments
 (0)