<security> of <netTcpBinding>

Defines the security settings for a binding.

Schema Hierarchy

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

Syntax

<security mode="Message/None/Transport/TransportWithCredential">
   <transport
      clientCredentialType="Basic/Certificate/Digest/None/Ntlm/Windows"
           protectionLevel="None/Sign/EncryptAndSign" />
   <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 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

binding

The binding element of the <netTcpBinding>.

Remarks

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.

See Also

Reference

NetTcpSecurity
Security
Security
NetTcpSecurityElement

Concepts

<binding>

Other Resources

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