使用 Windows 域“模拟”对 ASP.NET MVC3 用户身份验证进行编程
我正在编写一个 ASP.NET MVC3 项目,需要通过 Windows 域/Active Directory 实现用户身份验证。
但是,在开发期间,我无法访问该域,并且无法安装本地 Windows 域(我正在我的私人普通计算机上开发该应用程序)。
有没有办法进行域“模拟”?
I'm programming an ASP.NET MVC3 project, and I am required to implement user authentication via Windows Domain / Active Directory.
However, during the development period I have no access to the domain, and installing a local Windows Domain is not possible (I'm developing the application on my private modest computer).
Is there a way to have a domain "simulation"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您的开发是在未连接到 Windows 活动域的本地计算机上进行的,则您可以针对本地计算机进行身份验证。这将模拟 Active Directory 身份验证,但仅此而已(据我所知)。
If your development is on the local machine which is not connected to a Windows Active Domain, you can authenticate against the Local Machine. This will simulate Active Directory authentication, but nothing more (that I know of).
您应该考虑相应设置的虚拟机。
You should consider an accordingly set up virtual machine.