Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specify Windows stream security settings of the custom binding.
Schema Hierarchy
<system.serviceModel>
<bindings>
<customBinding>
<binding>
<windowsStreamSecurity>
Syntax
<windowsStreamSecurity protectionLevel="None/Sign/EncryptAndSign"/>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
protectionLevel |
Defines message-level security. 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. Valid values include the following:
The default is EncryptAndSign. This attribute is of type ProtectionLevel. |
Child Elements
None
Parent Elements
Element | Description |
---|---|
Defines all binding capabilities of the custom binding. |
Remarks
Transports that use a stream-oriented protocol such as TCP and named pipes support stream-based transport upgrades. Specifically, WCF provides security upgrades. The configuration of this transport security is encapsulated by this configuration element as well as by <sslStreamSecurity>, which can be configured and added to a custom binding
See Also
Reference
<customBinding>
CustomBinding
WindowsStreamSecurityElement
WindowsStreamSecurityBindingElement
Other Resources
Windows Communication Foundation Bindings
Extending Bindings
Custom Bindings