Advertisement
retesere20

Untitled

Aug 22nd, 2016
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1.  
  2. # ----------------------------------------------------------------------
  3. # | Reducing MIME type security risks |
  4. # ----------------------------------------------------------------------
  5.  
  6. # Prevent some browsers from MIME-sniffing the response.
  7. #
  8. # This reduces exposure to drive-by download attacks and cross-origin
  9. # data leaks, and should be left uncommented, especially if the server
  10. # is serving user-uploaded content or content that could potentially be
  11. # treated as executable by the browser.
  12. #
  13. # http://www.slideshare.net/hasegawayosuke/owasp-hasegawa
  14. # http://blogs.msdn.com/b/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx
  15. # https://msdn.microsoft.com/en-us/library/ie/gg622941.aspx
  16. # https://mimesniff.spec.whatwg.org/
  17.  
  18. <IfModule mod_headers.c>
  19. Header set X-Content-Type-Options "nosniff"
  20. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement