<?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 QlikView WebServer: Custom HTTP Header in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-WebServer-Custom-HTTP-Header/ta-p/1712716</link>
    <description>&lt;P&gt;The QlikView WebServer (QVWS) supports custom HTTP response headers as of release 12.30.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Custom response headers are defined in &lt;FONT face="courier new,courier"&gt;QVWS config.xml&lt;/FONT&gt; file.&lt;/P&gt;
&lt;P&gt;Note that for QlikView deployments using IIS as a web server, custom HTTP headers must be configured in IIS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example use case for this is the introduction of HTTP headers preventing any possible &lt;A href="https://en.wikipedia.org/wiki/Clickjacking" target="_blank" rel="noopener"&gt;ClickJacking&lt;/A&gt; vulnerabilities.&amp;nbsp;&lt;SPAN&gt;This type of attack is mitigated by adding an&amp;nbsp;&lt;STRONG&gt;X-Frame-Options&lt;/STRONG&gt; HTTP response header, which can be used to indicate whether or not a browser should be allowed to render a page in a &amp;lt;frame&amp;gt;, &amp;lt;iframe&amp;gt; or &amp;lt;object&amp;gt;. Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites. For more information on X-Frame-Options, see, for example,&amp;nbsp;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options" target="_blank" rel="noopener"&gt;X-Frame-Options (Mozilla)&lt;/A&gt;.&lt;/SPAN&gt;&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;(12.30 and later)&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Configure Custom Headers&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Run text editor (e.g. Notepad) as Administrator&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Edit QlikView WebServer configurations file.&amp;nbsp;Default path;&amp;nbsp;C:\ProgramData\QlikTech\WebServer\config.xml&lt;/LI&gt;
&lt;LI&gt;Locate&amp;nbsp;CustomHeaders&amp;nbsp;element within the config file&lt;/LI&gt;
&lt;LI&gt;Replace empty element &lt;STRONG&gt;&amp;lt;CustomHeaders /&amp;gt;&lt;/STRONG&gt;&amp;nbsp;with open and closed elements &lt;STRONG&gt;&amp;lt;CustomHeaders&amp;gt;&amp;lt;/CustomHeaders&amp;gt;&lt;/STRONG&gt;&amp;nbsp;if needed.&amp;nbsp;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;Config&amp;gt;
  ...
  &amp;lt;Web&amp;gt;
&lt;STRONG&gt;    &amp;lt;CustomHeaders&amp;gt;
&lt;/STRONG&gt;&amp;nbsp;   ...&lt;STRONG&gt;
    &amp;lt;/CustomHeaders&amp;gt;
&lt;/STRONG&gt;  &amp;lt;/Web&amp;gt;
&amp;lt;/Config&amp;gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Add custom response header as &amp;lt;Header&amp;gt; element(s) with sub-elements defining the desired header name and value.&amp;nbsp;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;Config&amp;gt;
  ...
  &amp;lt;Web&amp;gt;
&amp;nbsp;   ...
    &amp;lt;CustomHeaders&amp;gt;
      &amp;lt;Header&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;
        &amp;lt;Name&amp;gt;Header1&amp;lt;/Name&amp;gt;
        &amp;lt;Value&amp;gt;Value1&amp;lt;/Value&amp;gt;
      &amp;lt;/Header&amp;gt;
      &amp;lt;Header&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;
        &amp;lt;Name&amp;gt;Header2&amp;lt;/Name&amp;gt;
        &amp;lt;Value&amp;gt;Value2&amp;lt;/Value&amp;gt;
       &amp;lt;/Header&amp;gt;
    &amp;lt;/CustomHeaders&amp;gt;
  &amp;lt;/Web&amp;gt;
&amp;lt;/Config&amp;gt;
&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Restart QlikView WebServer service&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Validate custom headers&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL start="7"&gt;
&lt;LI&gt;Open browser&lt;/LI&gt;
&lt;LI&gt;Enable browser developer tools&lt;/LI&gt;
&lt;LI&gt;Open QlikView AccessPoint&lt;/LI&gt;
&lt;LI&gt;Validate in HTTP response header that custom header has been set&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="verify custom headers in debug tools.png" style="width: 555px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60054iC25F9988EF3828FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="verify custom headers in debug tools.png" alt="verify custom headers in debug tools.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Wed, 20 Mar 2024 15:26:18 GMT</pubDate>
    <dc:creator>ToniKautto</dc:creator>
    <dc:date>2024-03-20T15:26:18Z</dc:date>
    <item>
      <title>QlikView WebServer: Custom HTTP Header</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-WebServer-Custom-HTTP-Header/ta-p/1712716</link>
      <description>&lt;P&gt;The QlikView WebServer (QVWS) supports custom HTTP response headers as of release 12.30.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Custom response headers are defined in &lt;FONT face="courier new,courier"&gt;QVWS config.xml&lt;/FONT&gt; file.&lt;/P&gt;
&lt;P&gt;Note that for QlikView deployments using IIS as a web server, custom HTTP headers must be configured in IIS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example use case for this is the introduction of HTTP headers preventing any possible &lt;A href="https://en.wikipedia.org/wiki/Clickjacking" target="_blank" rel="noopener"&gt;ClickJacking&lt;/A&gt; vulnerabilities.&amp;nbsp;&lt;SPAN&gt;This type of attack is mitigated by adding an&amp;nbsp;&lt;STRONG&gt;X-Frame-Options&lt;/STRONG&gt; HTTP response header, which can be used to indicate whether or not a browser should be allowed to render a page in a &amp;lt;frame&amp;gt;, &amp;lt;iframe&amp;gt; or &amp;lt;object&amp;gt;. Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites. For more information on X-Frame-Options, see, for example,&amp;nbsp;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options" target="_blank" rel="noopener"&gt;X-Frame-Options (Mozilla)&lt;/A&gt;.&lt;/SPAN&gt;&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;(12.30 and later)&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Configure Custom Headers&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Run text editor (e.g. Notepad) as Administrator&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Edit QlikView WebServer configurations file.&amp;nbsp;Default path;&amp;nbsp;C:\ProgramData\QlikTech\WebServer\config.xml&lt;/LI&gt;
&lt;LI&gt;Locate&amp;nbsp;CustomHeaders&amp;nbsp;element within the config file&lt;/LI&gt;
&lt;LI&gt;Replace empty element &lt;STRONG&gt;&amp;lt;CustomHeaders /&amp;gt;&lt;/STRONG&gt;&amp;nbsp;with open and closed elements &lt;STRONG&gt;&amp;lt;CustomHeaders&amp;gt;&amp;lt;/CustomHeaders&amp;gt;&lt;/STRONG&gt;&amp;nbsp;if needed.&amp;nbsp;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;Config&amp;gt;
  ...
  &amp;lt;Web&amp;gt;
&lt;STRONG&gt;    &amp;lt;CustomHeaders&amp;gt;
&lt;/STRONG&gt;&amp;nbsp;   ...&lt;STRONG&gt;
    &amp;lt;/CustomHeaders&amp;gt;
&lt;/STRONG&gt;  &amp;lt;/Web&amp;gt;
&amp;lt;/Config&amp;gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Add custom response header as &amp;lt;Header&amp;gt; element(s) with sub-elements defining the desired header name and value.&amp;nbsp;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;Config&amp;gt;
  ...
  &amp;lt;Web&amp;gt;
&amp;nbsp;   ...
    &amp;lt;CustomHeaders&amp;gt;
      &amp;lt;Header&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;
        &amp;lt;Name&amp;gt;Header1&amp;lt;/Name&amp;gt;
        &amp;lt;Value&amp;gt;Value1&amp;lt;/Value&amp;gt;
      &amp;lt;/Header&amp;gt;
      &amp;lt;Header&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;
        &amp;lt;Name&amp;gt;Header2&amp;lt;/Name&amp;gt;
        &amp;lt;Value&amp;gt;Value2&amp;lt;/Value&amp;gt;
       &amp;lt;/Header&amp;gt;
    &amp;lt;/CustomHeaders&amp;gt;
  &amp;lt;/Web&amp;gt;
&amp;lt;/Config&amp;gt;
&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Restart QlikView WebServer service&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Validate custom headers&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL start="7"&gt;
&lt;LI&gt;Open browser&lt;/LI&gt;
&lt;LI&gt;Enable browser developer tools&lt;/LI&gt;
&lt;LI&gt;Open QlikView AccessPoint&lt;/LI&gt;
&lt;LI&gt;Validate in HTTP response header that custom header has been set&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="verify custom headers in debug tools.png" style="width: 555px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60054iC25F9988EF3828FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="verify custom headers in debug tools.png" alt="verify custom headers in debug tools.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 20 Mar 2024 15:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/QlikView-WebServer-Custom-HTTP-Header/ta-p/1712716</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2024-03-20T15:26:18Z</dc:date>
    </item>
  </channel>
</rss>

