Skip to content

Commit

Permalink
Set X-Content-Type-Options "nosniff" header.
Browse files Browse the repository at this point in the history
  • Loading branch information
blueimp committed Apr 23, 2013
1 parent 6b2e44a commit 9c1f87e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/php/files/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ForceType application/octet-stream
ForceType none
</FilesMatch>

# Prevent IE from MIME-sniffing:
Header set X-Content-Type-Options "nosniff"

# Uncomment the following lines to prevent unauthorized download of files:
#AuthName "Authorization required"
#AuthType Basic
Expand Down

0 comments on commit 9c1f87e

Please sign in to comment.