---
title: Nodinite HTTP Security Response Headers | IIS Hardening
description: Configure HTTP security response headers for Nodinite IIS deployments. Covers HSTS, CSP, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, Cache-Control, and how to generate scan evidence for security assessments.
---

# :fa-shield-check: HTTP Security Response Headers

In addition to TLS ([How to perform hardening on your Nodinite installation][TLS Hardening]), :Nodinite: v7 enforces several HTTP security response headers at the application level. On [Windows Server][], each of the [Core Services][] is its own [IIS][] web site, so you can supplement the headers per site. Understanding what is set in code — and what you can supplement at the [IIS][IIS Overview] level — is important for security assessments and compliance questionnaires (e.g., VSAQ 2.17).

## What Nodinite Sets at Application Level

|Header|Status|Detail|
|---|---|---|
|`Strict-Transport-Security` (HSTS)|✅ **Enforced**|Set by `app.UseHsts()` in all main services: [Web Client][], [Web API][], [Log API][], [Monitoring Service][], [Logging Service][]|
|`Content-Security-Policy` (CSP)|✅ **Enforced**|:new7.12: Every [Web Client][] response carries `frame-ancestors 'self'`. The full policy (`default-src 'self'`, `frame-ancestors 'self'`, `object-src 'none'`) is set only on the dashboard plugin page. Files opened by their link ([Images][] and [Files][], custom icons, [Custom Metadata][] attachments, logged message bodies) get `sandbox` (not for PDF): an SVG or HTML file opened directly still shows, but runs no script. For HTML widgets on the dashboard plugin page, the [DashboardPluginSettings][] [System Parameter][System Parameters] opens the script, style, image, font and connect sources of the widget frame; frames to other sites stay blocked|
|`X-Content-Type-Options: nosniff`|⚠️ **Partial**|Applied to all bundled JS/CSS static asset responses and, :new7.12:, to files opened by their link. Not set globally on all API endpoint responses|
|`Referrer-Policy: same-origin`|⚠️ **Partial**|Set in the [Web Client][] controller; not applied globally to [Web API][] or [Log API][] endpoints|
|`X-Frame-Options`|✅ **Enforced**|:new7.12: `X-Frame-Options: SAMEORIGIN` on every [Web Client][] response, next to `frame-ancestors 'self'`. No other site can show the Web Client in a frame, and there is no setting for it; the dashboard plugin widgets keep working|
|`Permissions-Policy`|❌ **Not set in code**|Not configured at application level; can be added by the customer at [IIS][IIS Overview] level — [see below](#adding-the-remaining-headers-via-iis)|

## Adding the Remaining Headers via IIS

For `Permissions-Policy`, and to apply `X-Content-Type-Options` and `Referrer-Policy` globally across all endpoints, add an HTTP Response Headers rule in IIS. The simplest approach is to add the following to your site's `web.config`:

```xml
<system.webServer>
  <httpProtocol>
    <customHeaders>
      <add name="Permissions-Policy"
           value="camera=(), microphone=(), geolocation=(), payment=()" />
      <add name="X-Content-Type-Options" value="nosniff" />
      <add name="Referrer-Policy" value="same-origin" />
    </customHeaders>
  </httpProtocol>
</system.webServer>
```

>[!TIP]
>You can also configure these headers through **IIS Manager** → select your site → **HTTP Response Headers** → **Add** — no `web.config` edit required.

>[!NOTE]
>The `Content-Security-Policy`, `X-Frame-Options`, and `Strict-Transport-Security` headers are managed by :Nodinite: application code. Do not duplicate them in `web.config` as conflicting values can cause browser errors.

## Cache-Control and Browser Data Retention

:Nodinite: does not set a global `Cache-Control: no-store` header on all responses. Sensitive pages ([Log Event][] payloads, [Monitor View][Monitor Views] results) are served dynamically and are not cached by the browser beyond the session. However, if your compliance requirements demand explicit cache prevention across all endpoints, add the following to your `web.config`:

```xml
<system.webServer>
  <httpProtocol>
    <customHeaders>
      <add name="Cache-Control" value="no-store, no-cache, must-revalidate" />
      <add name="Pragma" value="no-cache" />
    </customHeaders>
  </httpProtocol>
</system.webServer>
```

>[!NOTE]
>Because :Nodinite: is on-premise software, no data is ever cached on Nodinite-controlled infrastructure. The question of local machine cache applies only to the end user's browser on their own device — which is governed by the customer's endpoint management policies.

## Generating Scan Evidence

Because :Nodinite: is deployed on your own IIS server, **you control the endpoint** and can generate scan evidence yourself:

* [securityheaders.com](https://securityheaders.com)<sup>:fa-arrow-up-right-from-square:</sup> – Point at your :Nodinite: Web Client URL (must be publicly reachable, or use the browser extension for internal URLs)
* [OWASP ZAP](https://www.zaproxy.org/)<sup>:fa-arrow-up-right-from-square:</sup> – Run a passive scan against your :Nodinite: instance from within your network
* **PowerShell quick check** – Read the headers of the Web Client:

```powershell
$response = Invoke-WebRequest -Uri "https://nodinite.contoso.com:<port>" -Method Head
$response.Headers | Select-Object -Property @{N='Header';E={$_.Key}}, @{N='Value';E={$_.Value}}
```

## :fa-hand-point-right: Next Steps

* :fa-rocket: [TLS Hardening][] – Configure HTTPS/TLS for :Nodinite: v7  
* :fa-lock: [Access Controls & Vendor Policy][] – Vendor zero-access architecture, application authentication, network recommendations  

## :fa-link-horizontal: Related Topics

* :fa-server: [IIS Troubleshooting Overview][IIS Overview]  
* :fa-key: [Key Management, Backup & Data Residency][] – NIST key lifecycle, backup encryption, GDPR compliance  
* :fa-triangle-exclamation: [TLS Troubleshooting][] – CRL/OCSP slowness and 401 loopback errors  
* :fa-sliders: [System Parameters][]  
* :fa-shield-halved: [ArticleSecurityPolicy][] – which HTML markup reaches the browser  
* :fa-code: [StylesheetScriptsEnabled][] – whether formatting scripts run in the browser  
* :fa-book: [Post Installation Steps][]  

[Access Controls & Vendor Policy]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Hardening/Access%20Control%20and%20Vendor%20Policy.md
[ArticleSecurityPolicy]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/ArticleSecurityPolicy.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[Custom Metadata]:{ndr}/Repository%20Model/Custom%20Metadata/Overview.md
[DashboardPluginSettings]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DashboardPluginSettings.md
[Files]:{ndr}/Repository%20Model/Files/Overview.md
[IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Windows%20Features.md
[IIS Overview]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[Images]:{ndr}/Repository%20Model/Images/Overview.md
[Key Management, Backup & Data Residency]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Hardening/Key%20Management%20Backup%20and%20Residency.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[Post Installation Steps]:{ndr}/Install%20and%20Update/Getting%20started/7.%20Post%20Installation%20Steps.md
[StylesheetScriptsEnabled]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/StylesheetScriptsEnabled.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[TLS Hardening]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/How%20to%20perform%20hardening%20on%20your%20Nodinite%20installation.md
[TLS Troubleshooting]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Hardening/TLS%20Troubleshooting.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Core%20Services/Web%20Client/Overview.md
[Windows Server]:{ndr}/Install%20and%20Update/Getting%20started/2.%20Prerequisites.md#key-requirements