Share via


<transport> of <netTcpBinding>

Defines the type of message-level security requirements for an endpoint configured with the <netTcpBinding>.

Schema Hierarchy

<system.serviceModel>
  <binding>
    <netTcpBinding>
      <binding>
        <security> of <netTcpBinding>
          <transport> of <netTcpBinding>

Syntax

<security>
   <transport
      clientCredentialType="Basic/Certificate/Digest/None/Ntlm/Windows"
      protectionLevel="None/Sign/EncryptAndSign" />
</security>

Attributes and Elements

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

Attributes

Attribute Description

clientCredentialType

Optional. Specifies the type of credential to be used when performing client authentication using Transport security.

protectionLevel

Optional. Defines security at the level of the TCP transport. Signing messages mitigates the risk of a third party tampering with the message while it is being transferred. Encryption provides data-level privacy during transport.

The default value is EncryptAndSign.

Child Elements

None

Parent Elements

Element Description

<security> of <netTcpBinding>

Specifies the security capabilities of the <netTcpBinding>.

Remarks

Use Transport security for integrity and confidentiality of the SOAP message and for mutual authentication. If this security mode is selected on a binding, the channel stack is configured using a secure transport and the SOAP messages are secured using transport security such as HTTPS or SSL over TCP.

See Also

Reference

TcpTransportSecurity
Transport
Transport
NetTcpTransportSecurityElement

Concepts

<binding>

Other Resources

Securing Services and Clients
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05