混合Windows身份验证与窗体身份验证 [英] Mixing Windows Authentication with Forms Authentication

查看:199
本文介绍了混合Windows身份验证与窗体身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑用于内部网也应该是从Internet访问的站点。在Intranet上要使用Windows身份验证,并在互联网上,你希望用户使用窗体身份验证访问该站点。

Consider a site used for an intranet which should also be accessible from the internet. On the intranet you want to use Windows Authentication and on the internet you want the users to access the site using forms authentication.

是否有可能建立一个混合模式与这两个?我只是想验证该用户用他们的登录,而无需使用两个站点。

Is it possible to set up a mixed-mode with these two? I just want to validate that the user is logged in with either of them without using two sites.

推荐答案

您可能想看看一个类似的问题:<一href=\"http://stackoverflow.com/questions/3232072/\">http://stackoverflow.com/questions/3232072/

You may want to look at a similar question: http://stackoverflow.com/questions/3232072/

在回答我断定使用门面的解决方案。我已经利用这种方法来整合广告在多个域,ASPNET SQL提供商和衡量成功的遗产认证数据库。

In the answer I posit a solution using a facade. I have leveraged this approach to integrate AD on multiple domains, aspnet sql provider and a legacy authentication database with measurable success.

这篇关于混合Windows身份验证与窗体身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆