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