<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
<netTcpBinding>
<binding>
<security
mode="None|Transport|Message|TransportWithMessageCredential|TransportCredentialOnly">
<transport clientCredentialType="None|Basic|Digest|Ntlm|Windows"
proxyCredentialType="None|Basic|Digest|Ntlm|Windows" realm="string" >
<extendedProtectionPolicy
policyEnforcement="Never|WhenSupported|Always"
protectionScenario="TransportSelected|TrustedProxy">
<customServiceNames></customServiceNames>
</extendedProtectionPolicy>
</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. |
policyEnforcement |
This enumeration specifies when the ExtendedProtectionPolicy should be enforced.
|
Child Elements
None
Parent Elements
Element | Description |
---|---|
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
Other Resources
Securing Services and Clients
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients