/
Technical instruction - Add http response header on IIS
Technical instruction - Add http response header on IIS
Run IIS and click on default website. On right hand site double click to http response header.
Click add to add a http header.
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="no-referrer-when-downgrade" /> <add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains; preload" /> <add name="Permissions-Policy" value="geolocation=(*)" /> IF customer has strict policy: <add name"Content-Security-Policy" value"default-src 'self'; font-src 'self'; img-src 'self' data:; script-src 'self' https://www.googletagmanager.com https://www.google-analytics.com https://*.adyen.com; style-src 'self' https://*.adyen.com;" /> IF customer does not have strict policy: <add name"Content-Security-Policy" value" default-src *; font-src 'self' 'unsafe-inline';img-src * data:; script-src 'self' https://www.googletagmanager.com https://www.google-analytics.com https://*.adyen.com 'unsafe-inline' ; style-src 'self' https://*.adyen.com 'unsafe-inline';" />
Depending on version the same headers may exist in AssertWeb\web.config.
Settings must then be removed from this lower level web.config for system to start.
Example:
Save and restart IIS. Remember to comment out any header set in AssertWeb\web.config.
, multiple selections available,
Related content
Technical instruction - Enforce HTTPS in IIS
Technical instruction - Enforce HTTPS in IIS
Read with this
Technical documentation - Basic server setup in settings.config version 5.3 and later
Technical documentation - Basic server setup in settings.config version 5.3 and later
More like this
Technical instruction - IIS security settings
Technical instruction - IIS security settings
Read with this
Technical documentation - Basic server setup in settings.config version 5.2 and earlier
Technical documentation - Basic server setup in settings.config version 5.2 and earlier
More like this
Technical instruction - Set NTFS Permissions
Technical instruction - Set NTFS Permissions
Read with this
Redirect multiple URLs to different sites
Redirect multiple URLs to different sites
More like this