<?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>topic Re: Add HTTP Strict transport security header in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Add-HTTP-Strict-transport-security-header/m-p/2914426#M27623</link>
    <description>&lt;P&gt;Steps are given below-&lt;/P&gt;&lt;P&gt;Enable the modification of response headers.&lt;BR /&gt;Uncomment the following Load Module directive for the mod_headers module in the httpd.conf file:&lt;BR /&gt;LoadModule headers_module modules/mod_headers.so&lt;/P&gt;&lt;P&gt;Define the HSTS policy for clients.&lt;BR /&gt;Make the following updates in the httpd.conf file:&lt;/P&gt;&lt;P&gt;Add the Header directive for Strict-Transport-Security.&lt;BR /&gt;The following example Header specifies useful options for defining your HSTS policy. The directive specifies that the server always requires HTTPS connections. The HTTPS connections apply to both the domain and any subdomain. A client can keep the domain in its preinstalled list of HSTS domains for a maximum of one year (31536000 seconds).&lt;BR /&gt;Header always set Strict-Transport-Security "max-age=31536000;&lt;BR /&gt;includeSubDomains; preload"&lt;/P&gt;&lt;P&gt;Add the Header directive to each virtual host section, &amp;lt;virtualhost&amp;gt;, that is enabled for Secure Sockets Layer (SSL).&lt;BR /&gt;Redirect requests from virtual hosts that are NOT enabled for SSL to virtual hosts that are enabled.&lt;BR /&gt;RewriteEngine on&lt;BR /&gt;RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [R,L]&lt;/P&gt;&lt;P&gt;Add the stanza once to each non-SSL virtual host section in the httpd.conf file.&lt;BR /&gt;Add the stanza once to the global httpd.conf file, but outside the virtual host sections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may help you,&lt;/P&gt;&lt;P&gt;Rachel Gomez&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 06:38:13 GMT</pubDate>
    <dc:creator>rachelgomez1234</dc:creator>
    <dc:date>2022-11-18T06:38:13Z</dc:date>
    <item>
      <title>Add HTTP Strict transport security header</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Add-HTTP-Strict-transport-security-header/m-p/2903443#M27544</link>
      <description>&lt;P&gt;Hi folks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was told to add the HSTS header to the server but not sure how?&lt;/P&gt;&lt;P&gt;I tried this tutorial but it didn't work:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/tools/server-properties-advanced-page-reporting-services?view=sql-server-ver16" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/sql/reporting-services/tools/server-properties-advanced-page-reporting-services?view=sql-server-ver16&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 10:42:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Add-HTTP-Strict-transport-security-header/m-p/2903443#M27544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-14T10:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add HTTP Strict transport security header</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Add-HTTP-Strict-transport-security-header/m-p/2904828#M27548</link>
      <description>&lt;P&gt;What regex pattern did you use for the HSTS header?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did a test matching anything under /Reports/ and it appeared to work fine (I also stopped and re-started PBIRS after changing this setting just to be sure it was applied)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;Header&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/D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;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 22:33:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Add-HTTP-Strict-transport-security-header/m-p/2904828#M27548</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2022-11-14T22:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add HTTP Strict transport security header</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Add-HTTP-Strict-transport-security-header/m-p/2914426#M27623</link>
      <description>&lt;P&gt;Steps are given below-&lt;/P&gt;&lt;P&gt;Enable the modification of response headers.&lt;BR /&gt;Uncomment the following Load Module directive for the mod_headers module in the httpd.conf file:&lt;BR /&gt;LoadModule headers_module modules/mod_headers.so&lt;/P&gt;&lt;P&gt;Define the HSTS policy for clients.&lt;BR /&gt;Make the following updates in the httpd.conf file:&lt;/P&gt;&lt;P&gt;Add the Header directive for Strict-Transport-Security.&lt;BR /&gt;The following example Header specifies useful options for defining your HSTS policy. The directive specifies that the server always requires HTTPS connections. The HTTPS connections apply to both the domain and any subdomain. A client can keep the domain in its preinstalled list of HSTS domains for a maximum of one year (31536000 seconds).&lt;BR /&gt;Header always set Strict-Transport-Security "max-age=31536000;&lt;BR /&gt;includeSubDomains; preload"&lt;/P&gt;&lt;P&gt;Add the Header directive to each virtual host section, &amp;lt;virtualhost&amp;gt;, that is enabled for Secure Sockets Layer (SSL).&lt;BR /&gt;Redirect requests from virtual hosts that are NOT enabled for SSL to virtual hosts that are enabled.&lt;BR /&gt;RewriteEngine on&lt;BR /&gt;RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [R,L]&lt;/P&gt;&lt;P&gt;Add the stanza once to each non-SSL virtual host section in the httpd.conf file.&lt;BR /&gt;Add the stanza once to the global httpd.conf file, but outside the virtual host sections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may help you,&lt;/P&gt;&lt;P&gt;Rachel Gomez&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 06:38:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Add-HTTP-Strict-transport-security-header/m-p/2914426#M27623</guid>
      <dc:creator>rachelgomez1234</dc:creator>
      <dc:date>2022-11-18T06:38:13Z</dc:date>
    </item>
  </channel>
</rss>

