且构网

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

使用Windows身份验证测试内部网站

更新时间:2023-12-04 21:15:22

由于一张图片胜过千言万语这里有云如何基于href=\"http://***.com/questions/6828699/testing-intranet-site-that-uses-windows-authentication#comment8115605_6829189\"> 2GDev的评论这里复制的

As a picture is worth a thousand words here it goes how to do it in IE based on 2GDev's comment copied here for clarity:

进入Internet选项=>安全性=>本地Intranet =>自定义级别
和更改用户身份验证提示输入用户名和
密码

Go to Internet Options => Security => Local Intranet => Custom Level and change the User Authentication to "Prompt for username and password"

使用Windows身份验证测试内部网站

点击确定,然后应用。关闭浏览器。重新打开它,并将它指向你要调试的网站的网址。你应该高兴地看到登录提示,你可以用不同的用户帐户,以模拟例如并发登录(这是我现在在做什么在这里):

Click OK then Apply. Close the browser. Reopen it and point it to the website's URL you want to debug. You should happily see the login prompt where you can login with a different User account to simulate concurrency for example (this is what I'm doing right now here):