WCF Named Pipe Security and Multiple User Sessions?

前端 未结 3 1191
深忆病人
深忆病人 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 02:02

    Named pipes in WCF are not accessible from the network and no encryption is required to secure them. However, WCF services are not secure against the attack mentioned by romkyns.

    I suggest you read this posts:

    Exploring the WCF Named Pipe Binding - Part 1

    Exploring the WCF Named Pipe Binding - Part 2

    Exploring the WCF Named Pipe Binding - Part 3

    Exploring the WCF Named Pipe Binding - Part 4

    about the security problems involved.

    In short WCF allows ANY process to masquerade itself as the service and:

    1. Either simulate the service OR
    2. Eavesdrop and tamper data assuming that the rogue process itself connect to the service. However, if the service uses access security to check the identity of the calling user this may not be possible.

提交回复
热议问题