Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

    Code Block
    languagexml
    <add name="X-Frame-Options" value="SAMEORIGIN" />

...

  1. 
    <add name="X-Content-Type-Options" value="nosniff" />

...

  1. 
    <add name="Referrer-Policy" value="no-referrer-when-downgrade" />

...

  1. 
    <add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains;  preload" />

...

  1. 
    <add name="Permissions-Policy" value="geolocation=(*)" />

Example:

...

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