WCF Named Pipe Security and Multiple User Sessions?

前端 未结 3 1188
深忆病人
深忆病人 2021-02-06 01:06

I have setup a WPF application that is single instance using a Mutex, this allows for the application to run within each user account if you are using user switching. The appli

3条回答
  •  别跟我提以往
    2021-02-06 01:58

    Named pipes imply that the communication is point-to-point on the same machine. I believe that it is secured by default, but since communication is never leaving the machine, even on the same network, that security isn't the biggest thing to worry about - at least in regards to the communication between a named pipe component and its consumer.

    Check out "Programming WCF Services 2nd Edition" by Juval Lowy. Chapter 10 is all about component security. On page 514, he writes "there is no sense in using Message security over IPC, since with IPC there is always exactly one hop from the client to the service. The chart on that page shows that Transport security is turned on by default for named pipes.

提交回复
热议问题