<?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 Disabling Server Header in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Disabling-Server-Header/ta-p/1716182</link>
    <description>&lt;P&gt;It is important to suppress as much information as possible from any potentially harmful user.&lt;/P&gt;
&lt;P&gt;The server contains information identifying the technology being used and version numbers. This is not desirable because it increases the attack surface and could allow a malicious user to perform a spearheaded attack.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;On Windows, whether that is server edition or regular, it is not very clear as to how to disable this header. These instructions aim to clarify and demonstrate how it could be done on either edition. Without disabling the header, the server gives information away regarding the technology it is utilizing, as seen below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Server header with information disclosure" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64000iBEF78DF2196C4DE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Response Raw Server version displayed.png" alt="Server header with information disclosure" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Server header with information disclosure&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resolution:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;In order to stop the server from handing out information regarding the technology it is utilizing, we need to disable the “Server” header. This could be achieved in a number of ways. Instances running IIS could utilize “URLScan” or “Custom HTTP Rules”.&amp;nbsp; However, this is not a universal solution and in the case of URLScan, it is required to install an add-on to IIS. As a result, the following method will only target the HTTP service which works on any version of Windows.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open up “regedit.exe” (Run as Administrator) and navigate to:&lt;BR /&gt;&lt;BR /&gt;HKLM\System\CurrentControlSet\Services\HTTP\Parameters&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Create a DWORD entry.
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Right-click on the whitespace&lt;/LI&gt;
&lt;LI&gt;New&lt;/LI&gt;
&lt;LI&gt;DWORD (32-bit) Value&lt;/LI&gt;
&lt;LI&gt;Rename the new entry to “DisableServerHeader”&lt;/LI&gt;
&lt;LI&gt;Set its value to 2&lt;/LI&gt;
&lt;LI&gt;Hit “OK”.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Creating a DWORD entry for “DisableServerHeader”" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64001iDF9B76390E7C1F85/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dword new.png" alt="Creating a DWORD entry for “DisableServerHeader”" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Creating a DWORD entry for “DisableServerHeader”&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Setting the value of DisableServerHeader to 2" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64002i63BA2FDE1CF18C8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="value data.png" alt="Setting the value of DisableServerHeader to 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Setting the value of DisableServerHeader to 2&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;In order for this to take effect, it is required to reset the “http” service.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;I&gt;Warning: This will make your web services relying on HTTP unresponsive.&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Open CMD (or PS) as administrator and run the following:&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="cpp"&gt;net stop HTTP 
net start HTTP​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;If the above method fails, reboot the system.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Once the service has been restarted successfully, the response header from the server should now look similar to this:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="No Server Header in the HTTP response" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64003i35225046EC28E6B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="no server http header in http response.png" alt="No Server Header in the HTTP response" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;No Server Header in the HTTP response&lt;/span&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Oct 2021 12:21:19 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2021-10-12T12:21:19Z</dc:date>
    <item>
      <title>Disabling Server Header</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Disabling-Server-Header/ta-p/1716182</link>
      <description>&lt;P&gt;It is important to suppress as much information as possible from any potentially harmful user.&lt;/P&gt;
&lt;P&gt;The server contains information identifying the technology being used and version numbers. This is not desirable because it increases the attack surface and could allow a malicious user to perform a spearheaded attack.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;On Windows, whether that is server edition or regular, it is not very clear as to how to disable this header. These instructions aim to clarify and demonstrate how it could be done on either edition. Without disabling the header, the server gives information away regarding the technology it is utilizing, as seen below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Server header with information disclosure" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64000iBEF78DF2196C4DE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Response Raw Server version displayed.png" alt="Server header with information disclosure" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Server header with information disclosure&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resolution:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;In order to stop the server from handing out information regarding the technology it is utilizing, we need to disable the “Server” header. This could be achieved in a number of ways. Instances running IIS could utilize “URLScan” or “Custom HTTP Rules”.&amp;nbsp; However, this is not a universal solution and in the case of URLScan, it is required to install an add-on to IIS. As a result, the following method will only target the HTTP service which works on any version of Windows.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open up “regedit.exe” (Run as Administrator) and navigate to:&lt;BR /&gt;&lt;BR /&gt;HKLM\System\CurrentControlSet\Services\HTTP\Parameters&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Create a DWORD entry.
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Right-click on the whitespace&lt;/LI&gt;
&lt;LI&gt;New&lt;/LI&gt;
&lt;LI&gt;DWORD (32-bit) Value&lt;/LI&gt;
&lt;LI&gt;Rename the new entry to “DisableServerHeader”&lt;/LI&gt;
&lt;LI&gt;Set its value to 2&lt;/LI&gt;
&lt;LI&gt;Hit “OK”.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Creating a DWORD entry for “DisableServerHeader”" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64001iDF9B76390E7C1F85/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dword new.png" alt="Creating a DWORD entry for “DisableServerHeader”" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Creating a DWORD entry for “DisableServerHeader”&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Setting the value of DisableServerHeader to 2" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64002i63BA2FDE1CF18C8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="value data.png" alt="Setting the value of DisableServerHeader to 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Setting the value of DisableServerHeader to 2&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;In order for this to take effect, it is required to reset the “http” service.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;I&gt;Warning: This will make your web services relying on HTTP unresponsive.&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Open CMD (or PS) as administrator and run the following:&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="cpp"&gt;net stop HTTP 
net start HTTP​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;If the above method fails, reboot the system.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Once the service has been restarted successfully, the response header from the server should now look similar to this:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="No Server Header in the HTTP response" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64003i35225046EC28E6B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="no server http header in http response.png" alt="No Server Header in the HTTP response" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;No Server Header in the HTTP response&lt;/span&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 12:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Disabling-Server-Header/ta-p/1716182</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2021-10-12T12:21:19Z</dc:date>
    </item>
  </channel>
</rss>

