ASP.NET中的Windows身份验证 [英] Windows authentication in ASP.NET

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

问题描述

大家好,



我有一个带有集成窗口身份验证的Web应用程序(ASP.net)。当我访问我的应用程序时,IIS登录弹出窗口会询问窗口验证并通过所需页面的凭证。



我的要求是 - 是否可以通过asp页面避免IIS登录弹出和旁路窗口身份验证用户?



注意:我不想使用FBA。



我试过的:



 <   system.web  >  
< 授权 >
< < span class =code-leadattribute> allow users = 域名/姓名 / >

解决方案

我不确定您是否可以按用户级别配置它,但是您可以尝试这里提到的解决方案: asp.net - 使用集成窗口接收登录提示身份验证 - 堆栈溢出 [ ^ ]

Hi all,

I have a web application(ASP.net) with Integrated window authentication.When i access my application an IIS login popup will ask for windows credentials which validates and pass through the required page.

My requirement is that - Is it possible to avoid IIS login popup and bypass window authentication via an asp page for some specific user?

Note: I dont want to use FBA.

What I have tried:

<system.web>
      <authorization>
        <allow users="DOMAIN NAME/NAME"/>

解决方案

I'm not sure if you can configure it per user level, but you could try the solution mentioned here: asp.net - Receiving login prompt using integrated windows authentication - Stack Overflow[^]


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

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