<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article PVWA - Is it possible to add missing security headers in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/pvwa-is-it-possible-to-add-missing-security-headers/ta-p/1429024</link>
    <description>&lt;H3&gt;Question&lt;/H3&gt;
&lt;P&gt;Penetration tests may show that IIS security headers are missing or have less secure values. Is it possible to add these manually ?&lt;/P&gt;
&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;Later versions of the Idira product will include the latest headers, however they may be missing from earlier versions.&lt;/P&gt;
&lt;P&gt;These can be added manually by following one of the processes below:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Through IIS Manager&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open IIS Manager on the PVWA(s), select the site level you want to configure the headers for (Default Website is shown in the example below) and find the 'HTTP Response Headers' icon in the main pane:-&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009VlYX.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/98976i77335DD489A12F17/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009VlYX.png" alt="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009VlYX.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Double click on the icon, click on Add on the top right hand side and add the required header as per the example below:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009Vns5.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/98977i2AA6FDD770F7DC2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009Vns5.png" alt="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009Vns5.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An existing header can be modified by double clicking on it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Directly in the web.config File&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There may be various web.config files in the IIS web site directory structure (C:\inetpub\wwwroot by default). The above process will modify the web.config file at the relevant level or create a new one if one doesn't exist.&lt;/P&gt;
&lt;P&gt;The values can be added manually to the web.config using httpProtocol and customHeaders elements within the system.Webserver element like the example below:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;httpProtocol&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;customHeaders&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;add name="X-Frame-Options" value="Desired Value" /&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/customHeaders&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;/httpProtocol&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Save the file after editing. This change will automatically initiate an application pool recycle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to this document for more details on the customHeader element - &lt;A href="https://learn.microsoft.com/en-us/iis/configuration/system.webserver/httpprotocol/customheaders/" target="_blank"&gt;https://learn.microsoft.com/en-us/iis/configuration/system.webserver/httpprotocol/customheaders/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PLEASE NOTE: We recommend backing up any affected web.config files before making any changes, and carrying out tests in a test environment before applying to a production environment.&lt;/P&gt;
&lt;H3&gt;Environment&lt;/H3&gt;
Password Vault Web Access Other</description>
    <pubDate>Thu, 05 Nov 2026 19:54:42 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2026-11-05T19:54:42Z</dc:date>
    <item>
      <title>PVWA - Is it possible to add missing security headers</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/pvwa-is-it-possible-to-add-missing-security-headers/ta-p/1429024</link>
      <description>&lt;H3&gt;Question&lt;/H3&gt;
&lt;P&gt;Penetration tests may show that IIS security headers are missing or have less secure values. Is it possible to add these manually ?&lt;/P&gt;
&lt;H3&gt;Answer&lt;/H3&gt;
&lt;P&gt;Later versions of the Idira product will include the latest headers, however they may be missing from earlier versions.&lt;/P&gt;
&lt;P&gt;These can be added manually by following one of the processes below:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Through IIS Manager&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open IIS Manager on the PVWA(s), select the site level you want to configure the headers for (Default Website is shown in the example below) and find the 'HTTP Response Headers' icon in the main pane:-&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009VlYX.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/98976i77335DD489A12F17/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009VlYX.png" alt="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009VlYX.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Double click on the icon, click on Add on the top right hand side and add the required header as per the example below:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009Vns5.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/98977i2AA6FDD770F7DC2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009Vns5.png" alt="ka3Vy0000094xRXIAY__eid=ka3Vy0000094xRX&amp;amp;feoid=00N2J000009R3kg&amp;amp;refid=0EMVy000009Vns5.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An existing header can be modified by double clicking on it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Directly in the web.config File&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There may be various web.config files in the IIS web site directory structure (C:\inetpub\wwwroot by default). The above process will modify the web.config file at the relevant level or create a new one if one doesn't exist.&lt;/P&gt;
&lt;P&gt;The values can be added manually to the web.config using httpProtocol and customHeaders elements within the system.Webserver element like the example below:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;httpProtocol&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;customHeaders&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;add name="X-Frame-Options" value="Desired Value" /&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/customHeaders&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;/httpProtocol&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Save the file after editing. This change will automatically initiate an application pool recycle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to this document for more details on the customHeader element - &lt;A href="https://learn.microsoft.com/en-us/iis/configuration/system.webserver/httpprotocol/customheaders/" target="_blank"&gt;https://learn.microsoft.com/en-us/iis/configuration/system.webserver/httpprotocol/customheaders/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PLEASE NOTE: We recommend backing up any affected web.config files before making any changes, and carrying out tests in a test environment before applying to a production environment.&lt;/P&gt;
&lt;H3&gt;Environment&lt;/H3&gt;
Password Vault Web Access Other</description>
      <pubDate>Thu, 05 Nov 2026 19:54:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/pvwa-is-it-possible-to-add-missing-security-headers/ta-p/1429024</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-11-05T19:54:42Z</dc:date>
    </item>
  </channel>
</rss>

