Export (0) Print
Expand All

<security> of <basicHttpBinding>

Defines the security capabilities of the <basicHttpBinding>.

<security mode="Message/None/Transport/TransportWithCredential">
      realm="string" />
            clientCredentialType="Certificate/IssuedToken/None/UserName/Windows" />

The following sections describe attributes, child elements, and parent elements



Attribute Description


Optional. Specifies the type of security that is used. The default is None. This attribute is of type BasicHttpSecurityMode.

mode Attribute


Value Description


  • Messages are not secured during transfer.


Security is provided using HTTPS transport. The SOAP messages are secured using HTTPS. The service is authenticated to the client using the service's X.509 certificate. The client is authenticated using the ClientCredentialType supplied. See the <transport> of <basicHttpBinding>.


Security is provided using SOAP message security. By default, the body is encrypted and signed. For this binding, the system requires that the server certificate be provided to the client out of band. The only valid ClientCredentialType for this binding is Certificate.


Integrity, confidentiality and server authentication are provided by transport security. Client authentication is provided by means of SOAP message security. This mode is relevant when the user is authenticating using username/password and there is an existing HTTP deployment for securing message transfer.


This mode does not provide message integrity and confidentiality. It provides http-based client authentication. This mode should be used with caution. It should be used in environments where the transport security is being provided by other means (such as IPSec) and only client authentication is provided by the WCF infrastructure.

Child Elements


Element Description

<transport> of <basicHttpBinding>

Defines the transport security settings for a basic HTTP service. This element corresponds to HttpTransportSecurity.

<message> of <basicHttpBinding>

Defines the message security settings for a basic HTTP service. This element corresponds to BasicHttpMessageSecurity.

Parent Elements


Element Description


The binding element of the <basicHttpBinding>.

By default, the SOAP message is not secured and the client is not authenticated. This element enables you to configure additional security settings for the basicHttpBinding element.

Build Date:


Community Additions

© 2015 Microsoft