Click here to Skip to main content
15,903,030 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi I've coded a named pipe application, i'd like to protect my named pipe service so that no one can just write a client to connect to the named pipe and start calling methods on the server, how can i do this in WCF? I know that WCF Named pipes don't support message security but they do support transport security
Posted
Updated 27-Feb-11 13:00pm
v2

1 solution

The binding NetNamedPipeBinding that you are using is compatible with NTLM or Kerberos authentication. You have to enable it on the transport layer. This could be done through a configuration file. For example:

XML
<security mode="Transport">
   <transport clientCredentialType="Windows" />
</security>


Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900