Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
<bindings>
<webHttpBinding>
<binding>
<security>

  Switch on low bandwidth view
<security> of <webHttpBinding>

Specifies the security requirements for an endpoint configured with a <wsHttpBinding>.

<system.serviceModel>
  <bindings>
    <wsHttpBinding>
      <binding>
        <security> of <webHttpBinding>
<system.ServiceModel>
    <bindings>
        <webHttpBinding>
            <binding name = "string">
              <security mode="None/Transport/TransportCredentialOnly">
                                    <transport clientCredentialType = 
                                     "Basic/Certificate/Digest/None/Ntlm/Windows"
                                     proxyCredentialType="Basic/Digest/None/Ntlm/Windows"
                                     realm="string" />
              </security>
        </webHttpBinding>
    </bindings>
</system.ServiceModel>

Attributes

Attribute Description

mode

Specifies whether transport-level security or no security is used by an endpoint. The default is None. This attribute is of type WebHttpSecurityMode.

Child Elements

Element Description

<transport> of <webHttpBinding>

Defines the transport security settings. This element corresponds to the HttpTransportSecurityElement type.

Parent Elements

Element Description

<wsHttpBinding>

A binding element that is used to configure endpoints for Windows Communication Foundation (WCF) Web services that respond to HTTP requests instead of SOAP messages.


© 2007 Microsoft Corporation. All rights reserved.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker