Aracılığıyla paylaş


<security> of <basicHttpBinding>

Defines the security capabilities of the <basicHttpBinding>.

Schema Hierarchy

<system.serviceModel>
  <bindings>
    <basicHttpBinding>
      <binding>
        <security> of <basicHttpBinding>

Syntax

<security mode="Message/None/Transport/TransportWithCredential">
   <transport
      clientCredentialType="Basic/Certificate/Digest/None/Ntlm/Windows"
      proxyCredentialType="Basic/Digest/None/Ntlm/Windows"
      realm="string" />
   <message
      algorithmSuite="Basic128/Basic192/Basic256/Basic128Rsa15/Basic256Rsa15/TripleDes/TripleDesRsa15/Basic128Sha256/Basic192Sha256/TripleDesSha256/Basic128Sha256Rsa15/Basic192Sha256Rsa15/Basic256Sha256Rsa15/TripleDesSha256Rsa15"
            clientCredentialType="Certificate/IssuedToken/None/UserName/Windows" />
</security>

Attributes and Elements

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

Attributes

Attribute Description

mode

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

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

binding

The binding element of the <basicHttpBinding>.

Remarks

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.

See Also

Reference

Security
Security
BasicHttpSecurityElement
BasicHttpSecurity

Concepts

<binding>

Other Resources

Securing Services and Clients
Selecting a Credential Type
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients