是否可以为 ASP.NET Web 应用程序显示表单而不是质询/响应弹出窗口?

发布于 2025-01-08 10:31:46 字数 452 浏览 1 评论 0原文

我们有一个外部 SharePoint 网站,我们的 Intranet 用户和少数选定的用户需要通过 Internet 访问该网站。 SharePoint 网站位于与 Intranet 不同的域中,但该单独的域信任 Intranet,因此内部用户的凭据可用于 SharePoint 网站。只要我在他们的浏览器中进行了信任设置,他们就会在网站上自动进行身份验证。

问题是外部用户。他们也有帐户,但在我们的外部网络上。默认情况下,他们会收到浏览器弹出的质询/响应,并且由于他们在技术上没有登录到网络,因此必须输入凭据。我希望能够向他们展示一个漂亮的表格,而不是挑战/响应框。但我不想强迫内部用户必须输入任何内容。

有没有办法简单地用重定向到我可以控制的表单来替换弹出窗口?每个人都必须经过身份验证,最后都是Windows身份验证,我只想控制人们输入的内容,但保留单点登录。

我知道您可能可以通过应用程序的多个入口点等来做到这一点,但我希望保持简单。

We have an external SharePoint site that needs to be accessible to our intranet users and a select few users over the internet. The SharePoint site is on a separate domain from our intranet, but that separate domain trusts the intranet, so internal user's credentials work with the SharePoint site. As long as I have the trust settings in their browser, they will be automatically authenticated on the site.

The problem is external users. They also have accounts, but on our external network. By default they will receive a challenge/response pop up from the browser, and since they are not technically logged into the network they have to enter their credentials. I would like to be able to present them with a nice form instead of the challenge/response box. But I do not want to force internal users to have to type anything at all.

Is there a way to simply replace the pop up with a redirection to a form I can control? Everyone has to be authenticated, and in the end it is all windows authentication, I just want to control what people type into, but preserve single-sign on.

I know you can probably do this with multiple entry points into the application etc, but i was hoping to keep it simple.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

北方。的韩爷 2025-01-15 10:31:46

我相信你想要的是 IIS 中的“表单身份验证”。它的工作方式应该与您描述的相同,但允许您指定要重定向到的页面。我不知道详细信息,但您可以尝试在这里阅读:

http://technet.microsoft.com/en-us/library/cc771077(v=ws.10).aspx

I believe what you want is "Forms Authentication" in IIS. It should work the same way that you described, but allows you to specify a page to redirect to. I don't know the details, but you could try reading up on it here:

http://technet.microsoft.com/en-us/library/cc771077(v=ws.10).aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文