Adding X-Content-Type-Options
Follow these steps to add the X-Content-Type-Options HTTP response header at root level of IIS server.
- Open IIS Manager.
-
Click on every IRC and the CM site to check if the X-Content-Type-Options HTTP
Response Header is already added. If already added, then remove the header to prevent
duplication. Follow these steps to remove the X-Content-Type-Options HTTP response
header:
- Click on the relevant Web folder to remove the X-Content-Type-Options HTTP response header.
- Double click on the HTTP Response Headers option from the Feature View section.
- Select the X-Content-Type-Options and click the Remove link from the Action pane. The HTTP Response Header Confirmation window is displayed.
- Click .
- Click the Root Website under which the IRC and the CM sites are located. For example, the IIS website on which the IRC and the CM application is hosted.
- Double click on the 'HTTP Response Headers' option from the Feature View section.
- Click on the Add link from the Action Pane. The Add Custom HTTP Response Header popup is displayed.
- Specify the name as 'X-Content-Type-Options' and the value as 'nosniff'.
- Click OK on the Add Custom HTTP Response Header popup.