Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录
2013-05-29 16:09
423 查看
相关参考资料:
Anonymous access in SQL RS 2008
http://blogs.msdn.com/b/jameswu/archive/2008/07/15/anonymous-access-in-sql-rs-2008.aspx
Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录
http://blog.sina.com.cn/s/blog_7778950d0100qa61.html
1、修改文件rsreportserver.config,默认位置在C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer目录下
<Authentication>
<AuthenticationTypes>
<RSWindowsNegotiate/>
<RSWindowsNTLM/>
</AuthenticationTypes>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
<EnableAuthPersistence>true</EnableAuthPersistence>
修改为
<Authentication>
<AuthenticationTypes>
<Custom/>
</AuthenticationTypes>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
<EnableAuthPersistence>true</EnableAuthPersistence></Authentication>
2、修改ReportServer和ReportManager目录下的web.config文件
<authentication mode="Windows" />
<identity impersonate="true" />
修改为
<authentication mode="None" />
<identity impersonate="false" />
3、将“Microsoft.Samples.ReportingServices.AnonymousSecurity.dll”文件放入到bin目录,默认路径为“C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer”
4、修改ReportServer目录下的rsreportserver.config文件
<Security>
<Extension Name="Windows" Type="Microsoft.ReportingServices.Authorization.WindowsAuthorization, Microsoft.ReportingServices.Authorization"/>
</Security>
<Authentication>
<Extension Name="Windows" Type="Microsoft.ReportingServices.Authentication.WindowsAuthentication, Microsoft.ReportingServices.Authorization"/>
</Authentication>
修改为:
<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、修改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_50.MSSQLSERVER\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.AnonymousSecurity.dll"/>
</CodeGroup>
6、重启reporting service服务
相关修改好的配置文件和dll文件放置在如下下载中
本文出自 “fishvsfrog” 博客,谢绝转载!
Anonymous access in SQL RS 2008
http://blogs.msdn.com/b/jameswu/archive/2008/07/15/anonymous-access-in-sql-rs-2008.aspx
Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录
http://blog.sina.com.cn/s/blog_7778950d0100qa61.html
1、修改文件rsreportserver.config,默认位置在C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer目录下
<Authentication>
<AuthenticationTypes>
<RSWindowsNegotiate/>
<RSWindowsNTLM/>
</AuthenticationTypes>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
<EnableAuthPersistence>true</EnableAuthPersistence>
修改为
<Authentication>
<AuthenticationTypes>
<Custom/>
</AuthenticationTypes>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
<EnableAuthPersistence>true</EnableAuthPersistence></Authentication>
2、修改ReportServer和ReportManager目录下的web.config文件
<authentication mode="Windows" />
<identity impersonate="true" />
修改为
<authentication mode="None" />
<identity impersonate="false" />
3、将“Microsoft.Samples.ReportingServices.AnonymousSecurity.dll”文件放入到bin目录,默认路径为“C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer”
4、修改ReportServer目录下的rsreportserver.config文件
<Security>
<Extension Name="Windows" Type="Microsoft.ReportingServices.Authorization.WindowsAuthorization, Microsoft.ReportingServices.Authorization"/>
</Security>
<Authentication>
<Extension Name="Windows" Type="Microsoft.ReportingServices.Authentication.WindowsAuthentication, Microsoft.ReportingServices.Authorization"/>
</Authentication>
修改为:
<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、修改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_50.MSSQLSERVER\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.AnonymousSecurity.dll"/>
</CodeGroup>
6、重启reporting service服务
相关修改好的配置文件和dll文件放置在如下下载中
本文出自 “fishvsfrog” 博客,谢绝转载!
相关文章推荐
- Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录
- Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录
- Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录
- Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录
- Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录
- Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录(转)
- Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录
- Microsoft SQL SERVER 2008 R2 REPORT SERVICE 匿名登录--zt
- 解决Sqlserver 2008 R2在创建登录名出错"此版本的 Microsoft Windows 不支持 MUST_CHANGE 选项。 (Microsoft SQL Server,错误: 15195)"
- 数据库备份还原顺序关系(环境:Microsoft SQL Server 2008 R2)
- Microsoft SQL Server 2008 R2 XML处理 One solution is to increase the number of characters retrieved from the server for XML data.
- microsoft sql server 2008在64位win7上安装后服务器名称为空以及登录错误:无法连接到(local)的解决办法
- How to recover SA password on Microsoft SQL Server 2008 R2
- 数据库备份和恢复秩序的关系(周围环境:Microsoft SQL Server 2008 R2)
- 卸载Microsoft SQL Server 2008 R2 安装程序
- 微软官方工具推荐:Microsoft SQL Server 2008 R2 BPA
- Microsoft SQL Server 2008 R2 智能感知失效
- 关于sql server 2008 r2 展开时报错:参数名:viewInfo ( Microsoft SqlServer Management SqlStudio Explorer )解决思路
- Microsoft Sql Server 2008 R2 Express 下载地址推荐
- Microsoft SQL Server 2008 R2 安装卸载