【问题标题】:WCF - netTcpBinding with clientCredentialType="Windows" - Across DomainsWCF - 带有 clientCredentialType="Windows" 的 netTcpBinding - 跨域
【发布时间】:2011-12-05 22:35:10
【问题描述】:

我正在使用 netTcpBinding 尝试访问 WCF 服务。

  • 尝试访问服务的 ASP.NET Web 应用程序托管在 DMZ 网络中的 Web 服务器上。
  • 服务托管在另一个域中的另一个服务器上

我正在尝试通过 clientCredentialType 窗口进行连接。

但是当 Web 应用程序尝试访问服务时,我遇到了身份验证错误。是否可以使用 clientCredentialType="Windows" 访问在另一个域上托管服务的机器?

【问题讨论】:

    标签: asp.net wcf wcf-security nettcpbinding


    【解决方案1】:

    不,这是不可能的,因为如果域之间没有信任,那么托管服务的机器就无法验证在另一台机器上运行客户端的帐户的凭据。

    【讨论】:

    • 那么我唯一要做的就是在 2 个 Active Directory 域之间建立信任关系?
    猜你喜欢
    • 2011-07-23
    • 2012-11-14
    • 1970-01-01
    • 2010-11-20
    • 2015-02-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多