This documentation is archived and is not being maintained.

<security> of <netTcpBinding>

Defines the security settings for a binding.

<security mode="Message/None/Transport/TransportWithCredential">
           protectionLevel="None/Sign/EncryptAndSign" />
      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 applied. Valid values are shown below. The default value is Transport.

This attribute is of type SecurityMode.

Child Elements

Element Description

<transport> of <netTcpBinding>

Defines the security settings for the transport. This element is of type TcpTransportSecurityElement.

<message> element of <netTcpBinding>

Defines the security settings for the message. This element is of type MessageSecurityOverTcpElement.

Parent Elements

Element Description


The binding element of the <netTcpBinding>.

Each of the standard bindings provides parameters for controlling the transfer security requirements. These parameters typically include the security mode that specified whether message-level or transport-level security is used and the choice of client credential type. Based on the choice of options these parameters present, a channel stack is constructed with appropriate security.

The system-provided bindings supplied by Windows Communication Foundation (WCF) are a set designed to meet some of the most common scenario requirements. Each of these bindings allows the specification of security requirements for some specific targeted scenarios.

This configuration element provides the security specifications for netTcpBinding. This is a secure, reliable, optimized binding suitable for cross-machine communication. By default it generates a runtime communication stack supporting TCP for message delivery and Windows Security for message security and authentication, WS-ReliableMessaging for reliability, and binary message encoding.

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