【发布时间】:2020-08-11 07:30:56
【问题描述】:
我有一个 iframe,我将通过它调用报告服务
<iframe src="@(ViewBag.ReportUrl)" id="ifReport" scrolling="yes" height="500" width="100%"></iframe>
每次我尝试调用此服务时,它都会要求提供凭据
有什么办法可以避免这个提示。我的 Web 应用程序使用 Active Directory 凭据进行登录,因此这里使用相同的凭据。我可以在调用此服务时使用该凭据以避免提示吗?我已经提到了https://stackoverflow.com/a/12166240/10325225。但这个答案让我无处可去
<AuthenticationTypes>
<RSWindowsNTLM/>
</AuthenticationTypes>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
<EnableAuthPersistence>true</EnableAuthPersistence>
</Authentication>
这些是 RSReportServer.config 中提供的身份验证。我知道有一种方法可以实现自定义身份验证。除此之外还有什么方法可以单次登录
【问题讨论】:
标签: asp.net-mvc reporting-services reporting-services-2012