I have a WCF service exposed as a netTcpBinding.
On the service side:
<netTcpBinding>
<binding>
<security mode="Message">
<message clientCredentialType="Windows"/>
</security>
</binding>
</netTcpBinding> ...
// Service behavior
<behavior>
<serviceCredentials>
<windowsAuthentication allowAnonymousLogons="true" />
</serviceCredentials>
</behavior>
I am unable to access this service from a anonymous user on another machine. (Error: Negotiation failed redentials could not be verified.)
What does
<windowsAuthentication allowAnonymousLogons="true" />
do?
I want my service to be accessible to both windows and anonymous users over net tcp binding. I can do this using UserName validation, but how do I do this using Windows authentication?
Thanks