How to set "X-Content-Type-Options" header

Solution Verified - Updated -

Issue

  • Prevent browser from interpreting files as something else than declared by the content type in the HTTP headers.
  • Where I can find the information on the header X-Content-Type-Options

Environment

  • Red Hat JBoss Web Server
    • 2
    • 3
  • Apache httpd 2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In