【问题标题】:Clear text username password authentication in Wcf over httpsWcf 中通过 https 的明文用户名密码身份验证
【发布时间】:2011-02-11 10:32:53
【问题描述】:

我的问题可能很愚蠢,但就是这样。

我经历了this 的问题。 jassuncao 建议使用 custom binding 创建的 Yaron Naveh。既然它不是一种非常安全的身份验证方式,我的问题是,如果我使用 Yaron 的自定义绑定并将我的服务放在 https 后面怎么办?它仍然是不安全的吗?

【问题讨论】:

    标签: c# wcf authentication .net-3.5 wcf-binding


    【解决方案1】:

    如果您使用 SSL,则传输将是安全的。不需要自定义绑定。

    来自您提到的Introducing WCF ClearUsernameBinding 页面:

    Sachin said... 
    How does this work in IIS hosted environment with SSL certificate. Also in order to provide interoperability how will the clients using non woindows environment will be able to provide the user credentioals? 
    
    February 18, 2009 9:06 PM  
     Yaron Naveh said... 
    Hi Sachin
    
    When SSL is used there is no need for clearUsernameBinding - you can use the out of the box WCF configurations.
    
    As for interoperability, clearUsernameBinding adheres to the WSS username profile. 
    

    【讨论】:

    • 我读过,但我不想弄乱证书。同样在后面的部分中,Yaron 提到了如何将其更改为使用 SSL。这是该评论的直接链接:webservices20.blogspot.com/2008/11/… 但我不知道应该如何实施第 1 点和第 3 点。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-06-30
    • 1970-01-01
    • 2018-12-19
    • 2011-10-23
    • 1970-01-01
    相关资源
    最近更新 更多