title: How to configure/Enable the form based authentication in SSRS 2008 RS
body: <p>I have two reports , one is for <strong>internal users</strong> and another one is for <strong>external users</strong>,</p>
  
  <p>For internal Users i need to <strong>enable form authentication</strong> to view the report instead of creating the user accounts in the server.</p>
  
  <p>For external User <strong>i do not want to enable any authentication</strong>, so that they can access the report from the browser without any authentication. </p>
  
  <p>I followed the below steps by using the SSRS samples from the below link, after did all the changes i am getting HTTP500 Error. please help to enable this form based authentication. </p>
  
  <p>modify the RSReportServer.config file</p>
  
  <p>Step 1:-</p>
  
  <pre><code>&lt;Authentication&gt;
      &lt;AuthenticationTypes&gt; 
          &lt;Custom/&gt;
      &lt;/AuthenticationTypes&gt;
      &lt;EnableAuthPersistence&gt;true&lt;/EnableAuthPersistence&gt;
  &lt;/Authentication&gt;
  </code></pre>
  
  <p>Step 2:- </p>
  
  <pre><code>&lt;Security&gt;
      &lt;Extension Name="Forms" 
  Type="Microsoft.Samples.ReportingServices.CustomSecurity.Authorization, 
  Microsoft.Samples.ReportingServices.CustomSecurity" &gt;
          &lt;Configuration&gt;
              &lt;AdminConfiguration&gt;
                  &lt;UserName&gt;username&lt;/UserName&gt;
              &lt;/AdminConfiguration&gt;
          &lt;/Configuration&gt;
      &lt;/Extension&gt;
  &lt;/Security&gt;
  &lt;Authentication&gt;
      &lt;Extension Name="Forms" Type="Microsoft.Samples.ReportingServices.CustomSecurity.AuthenticationExtension, Microsoft.Samples.ReportingServices.CustomSecurity" /&gt;
  &lt;/Authentication&gt;
  </code></pre>
  
  <p>Step 3:-</p>
  
  <pre><code>&lt;UI&gt;
      &lt;CustomAuthenticationUI&gt;
          &lt;loginUrl&gt;/Pages/UILogon.aspx&lt;/loginUrl&gt;
          &lt;UseSSL&gt;True&lt;/UseSSL&gt;
      &lt;/CustomAuthenticationUI&gt;
      &lt;ReportServerUrl&gt;http://&lt;server&gt;/ReportServer&lt;/ReportServerUrl&gt;
  &lt;/UI&gt; 
  </code></pre>
  
  <p>modify the RSSrvPolicy.config file</p>
  
  <p>Step 4:-</p>
  
  <pre><code>&lt;CodeGroup
  class="UnionCodeGroup"
  version="1"
  Name="SecurityExtensionCodeGroup"
  Description="Code group for the sample security extension"
  PermissionSetName="FullTrust"&gt;
      &lt;IMembershipCondition 
      class="UrlMembershipCondition"
      version="1"
      Url="C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.CustomSecurity.dll"
      /&gt;
  &lt;/CodeGroup&gt; 
  </code></pre>
  
  <p>modify the RSMgrPolicy.config file</p>
  
  <p>Step 5:-</p>
  
  <pre><code>&lt;CodeGroup 
  class="FirstMatchCodeGroup" 
  version="1" 
  PermissionSetName="FullTrust"
  Description="This code group grants MyComputer code Execution permission. "&gt;
      &lt;IMembershipCondition 
      class="ZoneMembershipCondition"
      version="1"
      Zone="MyComputer" /&gt; "}*To use Forms Authentication, you need to modify the Web.config files for Report Manager and Report Server
  </code></pre>
  
  <p>modify the Web.config file for Report Server</p>
  
  <p>Step 6:-</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
      &lt;forms loginUrl="logon.aspx" name="sqlAuthCookie" timeout="60" path="/"&gt;        
      &lt;/forms&gt;
  &lt;/authentication&gt;
  Add the following &lt;authorization&gt; element directly after the &lt;authentication&gt; element.
  &lt;authorization&gt; 
      &lt;deny users="?" /&gt;
  &lt;/authorization&gt;. 
  </code></pre>
  
  <p>Web.config file for Report Manager</p>
  
  <p>Step 7 :-</p>
  
  <pre><code>Disable impersonation by locating the section &lt;identity impersonate= "true" /&gt; and changing it to the following: &lt;identity impersonate="false" /&gt;.
  Locate the &lt;authentication&gt; element and change the Mode attribute to Forms.
  Add the following keys to the &lt;appSettings&gt; element.
  &lt;add key="ReportServer" value="&lt;Server Name&gt;"/&gt;
  &lt;add key="ReportServerInstance" value="&lt;Instance Name&gt;"/&gt;
  </code></pre>
  
  <p>Reference URL    <a href="https://msftrsprodsamples.codeplex.com/wikipage?title=SS2008R2%21Security%20Extension%20Sample&amp;FocusElement=Comment" rel="noreferrer">https://msftrsprodsamples.codeplex.com/wikipage?title=SS2008R2%21Security%20Extension%20Sample&amp;FocusElement=Comment</a></p>
  
  <p>After performing all the above steps , when i am trying to register user i am getting the error called Keyword not supported: 'mssqlserver;integrated security'.</p>