Picto thématique

Rule n° 201 - The headers sent by the server disable automatic detection of each resource’s MIME type.

No, MIME has nothing to do with Marcel Marceau, it's just an identifier for specifying the data format on the Internet. Automatic detection of this format can enable the sending of harmful content to the user computers. Insofar as this automatic detection is not vital, disable it.

#Security #Development

Goal

  • Reduce the risk of downloading dangerous hidden content.

Implementation

Configure the server to address the X-Content-Type-Options header with the value nosniff.

Control

Using an HTTP header inspection tool, check that the X-Content-Type-Options header is present with the value nosniff.

By Opquast - Read the license


Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 14,500 web professionals to have their skills certified. Train your teams or your students, contact us