X-Content-Type-Options-Vulnerability/EN/Solution Tips
Version vom 12. März 2019, 11:45 Uhr von Siwebot (Diskussion | Beiträge)
nosniff;
Code example of an .htaccess file on an Apache webserver.
--snip
<IfModule mod_headers.c> # prevent mime based attacks like drive-by download attacks, IE and Chrome '''Header set X-Content-Type-Options "nosniff"''' <pre></IfModule>
—snap
Here is an example of an .htaccess file which will set the Header Scanner to green. (.htaccess example (German only)