I am new to WCF and Named pipes. we have created one WCF service, one host application to host the WCF service and UI application. UI application need to call methods of WCF service to perform some action and also need to receive message from the service. both host application and UI application are running on same machine.
In host application( to host the WCF service), we used netNamedPipeBinding to create named pipe. below is code snipes
string address = 'net.pipe://localhost/xyz/WCFService';
NetNamedPipeBinding binding = new
NetNamedPipeBinding(NetNamedPipeSecurityMode.Transport);
binding.ReceiveTimeout = TimeSpan.MaxValue;
EndpointAddress ep = new EndpointAddress(address);
channel = ChannelFactory<WCFServiceLib.ITest1Service>.CreateChannel(binding,
ep);
channel.start();
but when I tried using Attack Surface Analyzer tool @ http://www.microsoft.com/en-in/download/details.aspx?id=24487 it detected vulnerability with "m_sf_namespace_pipe"
Attach surface analyzer.exe tool shows 'The following processes were found to have an open handle to this' message 'GENERIC_ALL GENERIC_WRITE WRITE_OWNER WRITE_DAC SECTION_MAP_WRITE' for my UI application.
In WCF service, we used default setting, is there something I can control here? is there any way to provide better security/Access control so that analyzer tool should not detect any vulnerability?
Thanks