开发者

Windows authentication - testing for different users

开发者 https://www.devze.com 2022-12-12 19:20 出处:网络
My application does not have any roles. However I use windows authentication to stop anonymous users from accessing the webpages.

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 cann开发者_开发知识库ot set up dummy users in Active Directory. So how do I do this?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消