Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

  1. Run IIS and click on default website. On right hand site double click to http response header.

  1. Click add to add a http header.

  1. add the name in the name field and add value in the value filed.

<add name="X-Frame-Options" value="SAMEORIGIN" />
<add name="X-Content-Type-Options" value="nosniff" />
<add name="Referrer-Policy" value="strict-origin-when-cross-origin" />
<add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains; preload" />
<add name="Permissions-Policy" value="geolocation=(*)" />

Example:

  1. Save and restart IIS. But remember to comment out any header set in web.config.

  • No labels