---
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.
---

# <i class="fal fa-shield-check" aria-hidden="true"></i> HTTP Security Response Headers

In addition to TLS ([How to perform hardening on your Nodinite installation][TLS Hardening]), <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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**|<sup><span class="nodinite-new-badge">New 7.12</span></sup> 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, <sup><span class="nodinite-new-badge">New 7.12</span></sup>, 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**|<sup><span class="nodinite-new-badge">New 7.12</span></sup> `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>
```

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>You can also configure these headers through <strong>IIS Manager</strong> → select your site → <strong>HTTP Response Headers</strong> → <strong>Add</strong> — no <code>web.config</code> edit required.</p></div>
</aside>

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>The <code>Content-Security-Policy</code>, <code>X-Frame-Options</code>, and <code>Strict-Transport-Security</code> headers are managed by <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application code. Do not duplicate them in <code>web.config</code> as conflicting values can cause browser errors.</p></div>
</aside>

## Cache-Control and Browser Data Retention

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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>
```

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Because <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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.</p></div>
</aside>

## Generating Scan Evidence

Because <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> is deployed on your own IIS server, **you control the endpoint** and can generate scan evidence yourself:

* [securityheaders.com](https://securityheaders.com)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> – Point at your <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Web Client URL (must be publicly reachable, or use the browser extension for internal URLs)
* [OWASP ZAP](https://www.zaproxy.org/)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> – Run a passive scan against your <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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}}
```

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-rocket" aria-hidden="true"></i> [TLS Hardening][] – Configure HTTPS/TLS for <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7  
* <i class="fal fa-lock" aria-hidden="true"></i> [Access Controls & Vendor Policy][] – Vendor zero-access architecture, application authentication, network recommendations  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

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

[Access Controls & Vendor Policy]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/hardening/access-control-and-vendor-policy/
[ArticleSecurityPolicy]:https://docs.nodinite.com/administration/settings/system-parameters/articlesecuritypolicy/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Custom Metadata]:https://docs.nodinite.com/repository-model/custom-metadata/overview/
[DashboardPluginSettings]:https://docs.nodinite.com/administration/settings/system-parameters/dashboardpluginsettings/
[Files]:https://docs.nodinite.com/repository-model/files/overview/
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/
[IIS Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[Images]:https://docs.nodinite.com/repository-model/images/overview/
[Key Management, Backup & Data Residency]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/hardening/key-management-backup-and-residency/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Post Installation Steps]:https://docs.nodinite.com/install-and-update/getting-started/post-installation-steps/
[StylesheetScriptsEnabled]:https://docs.nodinite.com/administration/settings/system-parameters/stylesheetscriptsenabled/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[TLS Hardening]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/
[TLS Troubleshooting]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/hardening/tls-troubleshooting/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/
[Windows Server]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/#key-requirements