Windows身份验证-针对不同用户的测试

发布于 2024-08-12 12:45:06 字数 123 浏览 2 评论 0原文

我的应用程序没有任何角色。 不过,我使用 Windows 身份验证来阻止匿名用户访问网页。 我需要测试不同用户使用该系统。 我不想知道不同的用户密码,并且无法在 Active Directory 中设置虚拟用户。 那么我该怎么做呢?

My application does not have any roles.
However I use windows authentication to stop anonymous users from accessing the webpages.
I need to test different users using the system.
I do not want to know different users passwords and I cannot set up dummy users in Active Directory.
So how do I do this?

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

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

发布评论

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

评论(1

彩扇题诗 2024-08-19 12:45:06

设置一个带有 Active Directory 域服务和 IIS 的虚拟服务器。为您自己构建一个用于测试的域并在那里创建您的虚拟用户。然后,您可以将 ASP.NET 应用程序放在上面,并使用不同的用户测试您的应用程序,但它将完全不受实时 Active Directory 设置的沙箱影响。

Set up a virtual server with Active Directory Domain Services and IIS on it. Build yourself a domain for your testing and create your dummy users there. Then you can put your ASP.NET application on it and test your app using the different users, but it'll be completely sandboxed from your live Active Directory setup.

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