I have a named pipe created in a managed process. I have a second process that tries to open a file descriptor for a named pipe, however the second process runs under a lower privilege than the process that created the named pipe. I understand that I need to create a named pipe in the first process with a security descriptor similar to that described in this MSKB article: http://support.microsoft.com/kb/813414
The problem is that I'm not sure how to do this in managed code, the KB article uses C ++. Does anyone know a way to create a named pipe so that it can be read and written anonymously, preferably using a security descriptor? Reducing the privileges of the first process that created the named pipe is not an option; I need it to work with high privileges.
Leeks and leaks
source share