是否可以在不同域的帐户上下文中运行 ASP.NET 应用程序

发布于 2024-09-01 22:15:33 字数 329 浏览 2 评论 0原文

假设我在一家公司 ABC.com 和另一个母公司域 XYZ.com 工作。我必须做什么才能运行 ABC.com 计算机上托管的 ASP.net 应用程序,但使用 XYZ.com 的 Windows 凭据?

提前致谢


是否有必要在域之间建立信任级别?目前,当我尝试模拟另一个域的用户时,会显示以下错误

无法根据配置文件中指定的凭据创建 Windows 用户令牌。来自操作系统的错误“服务器上的安全数据库没有用于此工作站信任关系的计算机帐户。”

域之间还应该存在一种或两种信任。在 ABC.com 中建立对 XYZ.com 域的信任就足够了吗?

提前致谢。

Suppose i work in a company ABC.com and another parent company domain XYZ.com. What must I do to run the ASP.net application hosted in a machine at ABC.com but use the windows credentials of XYZ.com?

Thanks in advance


Is it necessary to establish a trust level between the domains? Currently the following errors are shown when I try to impersonate the user of another domain

Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'The security database on the server does not have a computer account for this workstation trust relationship.

Also should there be one way or two trust between the domains. Will it suffice to establish a trust on the domain XYZ.com in ABC.com?

thanks in advance.

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

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

发布评论

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

评论(1

黑白记忆 2024-09-08 22:15:33

使用 ASP 中的 ProcessModel 部分.net 配置。

Use the ProcessModel section in the ASP.net config.

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