zoukankan      html  css  js  c++  java
  • WCF Misconfiguration: Security Not Enabled

    Abstract:

    No transport or message security has been defined.

    Explanation:

    Applications that transmit messages without transport or message security cannot guarantee the integrity or confidentiality of the

    messages. When a WCF security binding is set to None, both transport and message security are disabled.

    The following configuration sets the security mode to None.

    <system.serviceModel>

    <bindings>

    <wsHttpBinding>

    <binding name="MyBinding">

    <security mode="None"/>

    </binding>

    </bindings>

    </system.serviceModel>

    Recommendations:

    Use transport and message security to protect the integrity and confidentiality of messages.

    The configuration below tells the service to use transport security with message credentials.

    <system.serviceModel>

    <bindings>

    <wsHttpBinding>

    <binding name="MyBinding">

    <security mode="TransportWithMessageCredential"/>

    <message clientCredentialType="Windows"/>

    </binding>

    </bindings>

    </system.serviceModel>

  • 相关阅读:
    TP生成二维码插件
    day23 常用模块(中)
    day22 作业
    day22 常用模块(上)
    day21 模块与包+软件开发目录规范
    day20 作业
    day20 函数收尾+面向过程+模块
    day19 作业
    day19 生成器+函数递归
    day18 作业
  • 原文地址:https://www.cnblogs.com/time-is-life/p/6203162.html
Copyright © 2011-2022 走看看