Let's consider I have a service in my user session that listens on some TCP port.
Is there a way, on Windows, to only authorize processes from the same session to connect, and to deny connections from the "outside" ? ("outside" means another computer, and another user session on the same host).
I will also accept any alternative to TCP that allows only two process within the same session to communicate.
This has to work for Windows Vista, Seven and Server 2008.
Many thanks.