使用 Windows 域“模拟”对 ASP.NET MVC3 用户身份验证进行编程

发布于 2024-12-28 15:05:40 字数 161 浏览 2 评论 0原文

我正在编写一个 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 技术交流群。

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

发布评论

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

评论(2

盛装女皇 2025-01-04 15:05:40

如果您的开发是在未连接到 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).

国产ˉ祖宗 2025-01-04 15:05:40

您应该考虑相应设置的虚拟机

You should consider an accordingly set up virtual machine.

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