Stores or supplies security mode settings for a WCF client using BasicHttpBinding to bind to a Web service.
BasicHttpSecurityMode value | Meaning |
---|---|
None | The SOAP message is not secured during transfer. This is the default behavior for WCF client binding. |
Transport | HTTPS provides security for the SOAP message, and the client authenticates the service using the service's SSL certificate. The ClientCredentialType property of the BasicHttpMessageSecurity or the HttpTransportSecurity class controls client authentication to the service. |
Message | SOAP message security provides client authentication. The server SSL certificate must be provided to the client separately. |
TransportWithMessageCredential | HTTPS provides for message integrity, confidentiality, and server authentication. SOAP message security assures client authentication. The service must be configured with an SSL certificate. |
TransportCredentialOnly | Client authentication is provided by HTTP, but message integrity and confidentiality are not provided. Use this mode only when other means of transfer security (such as IPSec) are available. |