출처: http://ihchoi.tistory.com/entry/Reporting-Service-2008-에서-익명-인증-사용하기


Reporting Service 2005 에서 2008 로 업그래이드 하시면 가장 먼저 눈에 띠게 변화 한 부분이 IIS 를 사용하지 않고 HTTP.SYS 를 직접 Reporting Service 에서 연동해서 서비스를 한다는 부분입니다. IIS 를 사용하지 않으면서 인증 관련된 부분도 Reporting Service가 자체적으로 지원하게 변경 되었습니다. 인증을 Reporting Service 에서 지원하면서 부터 가장 많이 변경된것은 더 이상 익명 인증을 지원하지 않는다는 거죠.

하지만 방법은 있습니다. 기존처럼 간단하게 IIS 에서 세팅하는 방법은 아니지만 SQL Server 2008 에서 익명 인증을 사용 할 수 있습니다. 단 여러 config 파일 수정과 c# 소스 개발을 해야 한다는 단점이 있지만.. 2008에서 익명 인증을 지원하지는 않지만 Custom 인증을 지원 합니다. Custom 인증으로 변경하여 확장 모듈에서 인증 체크를 하지 않는 방법으로 기존 익명 인증 처럼 인증을 할 수 있습니다. 아래 순서대로 세팅을 하시면 됩니다.

1. C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\rereportserver.config 파일에 인증 타입을 "Custom" 으로 변경합니다.
<Authentication><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 
  <AuthenticationTypes> 
    <Custom/> 
  </AuthenticationTypes> 
  <EnableAuthPersistence>true</EnableAuthPersistence> 
</Authentication>

2. C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\web.config 파일과 C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportManager\web.config 파일에서 authentication mode="None" ,identity impersonate="false 로 변경합니다.
                 <authentication mode="None" /> 
    <identity impersonate="false"/>

3. 첨부한 Microsoft.Samples.ReportingServices.AnonymousSecurity.dll 파일을 c:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin 에 복사 합니다.

4. C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\rereportserver.config 파일에 <Extensions> 아래 부분을 추가 합니다.
<Security> 
  <Extension Name="None" Type="Microsoft.Samples.ReportingServices.AnonymousSecurity.Authorization, Microsoft.Samples.ReportingServices.AnonymousSecurity" /> 
</Security> 
<Authentication> 
  <Extension Name="None" Type="Microsoft.Samples.ReportingServices.AnonymousSecurity.AuthenticationExtension, Microsoft.Samples.ReportingServices.AnonymousSecurity" /> 
</Authentication>
5. C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\rssrvpolicy.config 파일에 아래 부분을 추가합니다.
<CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Name="Private_assembly" Description="This code group grants custom code full trust. "> 
  <IMembershipCondition class="UrlMembershipCondition" version="1" Url="c:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.AnonymousSecurity.dll" /> 
</CodeGroup> 

6. Reporting Serivce 를 재시작 합니다.

위에 순서대로 세팅을 하시면 Custom 인증을 이용해서 익명 인증 으로 사용할 수 있습니다.
Retrieved from http://www.databaser.net/moniwiki/wiki.php/SSRS2008익명인증
last modified 2018-04-13 23:12:52