且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP.NET中的Windows身份验证

更新时间:2022-10-23 13:41:22

我不确定您是否可以按用户级别配置它,但是您可以尝试这里提到的解决方案: 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[^]