Application authentication on ServiceHost

Hi,

I am programming a distributed application using WCF. The system consists of one console application implementing the Service Host and some client applications connecting to this ServiceHost and its services. For binding netNamedPipes is used. Does someone know, if the ServiceHost can find out the process name of client apps that are sending messages and using the services?

[401 byte] By [RS_Softie] at [2007-12-24]
# 1

This is similiar to the server wanting to get the IP address of the client. This is mentioned here:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=727886&SiteID=1

Probably the best way of doing that would be to just add a header to the envelope with the information you need, either with a contract or a MessageInspector.

Thanks!

Scott

ScottMason-MSFT at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 2

Well,

that would mean that you would expand the trusted subsystem to the client - which is, at least from a security perspective, unacceptable.

You cannot base security decisions on client provided data (i just assume you are dealing with security because you use the term "authentication" in you post title).

dominick.baier at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...

Visual Studio Orcas

Site Classified