Share via


<transport>of <netTcpBinding>

Defines the security settings for the <netTcpBinding>.

<system.serviceModel>

  <binding>

    <netTcpBinding>

      <binding>

        <security> of <netTcpBinding>

          <transport>of <netTcpBinding>

                                    
                                    <netTcpBinding>
                                
                                    
                                      <binding>
                                
                                    
                                        <security mode="None/Transport/Message/TransportWithMessageCredential">
                                
                                    
                                            <message> 
                                
                                    
                                            </message>
                                
                                    
                                            <transport>
                                
                                    
                                            </transport>
                                
                                    
                                        </security>
                                
                                    
                                      </binding>
                                
                                    
                                    </netTcpBinding>
                                

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.

clientCredentialType Attribute

Value Description

None

The client is anonymous. This requires a certificate for the service.

Windows

Specifies Windows authentication of the client using SP Negotiation (Kerberos negotiation).

Certificate

The client is authenticated using a certificate. This uses SSL Negotiation and requires a certificate for the service.

protectionLevel Attribute


Value Description

None

No protection.

Sign

Messages are signed.

EncryptAndSign

  • Messages are encrypted and signed.

Child Elements

None

Parent Elements

Element Description

<security> of <netTcpBinding>

Specifies the security capabilities of the <netTcpBinding>.

See Also

Reference

TcpTransportSecurity
NetTcpBinding

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.