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>

  • 相关阅读:
    RabbitMq+Haproxy负载均衡
    RabbitMq常用命令
    几种常见的消息队列
    RabbitMq集群搭建
    a=a+b与a+=b的区别
    Redis集群搭建
    变量作用域
    8.3吝啬SAT问题
    Surrounded Regions
    Binary Tree Maximum Path Sum
  • 原文地址:https://www.cnblogs.com/time-is-life/p/6203162.html
Copyright © 2011-2022 走看看