If You Need to Limit the Clients that Will Consume Your Service, Consider Setting negotiateServiceCredentials to False

- J.D. Meier, Carlos Farre, Jason Taylor, Prashant Bansode, Steve Gregersen, Madhu Sundararajan, Rob Boucher

If you want to limit the clients that can consume your service, consider setting negotiateServiceCredentials to False. This option will force you to install on the client a certificate, plus service certificate with public key. On the service you will need to install a certificate plus the client certificate with the public key. Negotiation of service credentials is only available in wsHttpBinding.

The following binding configuration shows how to set this option:
<binding name="BindingMessage">
   <security mode="Message">
      <message clientCredentialType="Windows" 
negotiateServiceCredential="false" />
   </security>
</binding>

Last edited Jun 13, 2008 at 12:25 AM by prashantbansode, version 1

Comments

No comments yet.