windowswinapinamed-pipesuser-accounts

Connecting to named pipe in Windows, different user accounts


In Windows, is it possible for a program running under a limited user account to connect to a named pipe created by a program running under Administrator account or running as a Windows Service?

Or will I get access denied?


Solution

  • It depends on the security attributes used to create the pipe. The pipe creator has to use security attributes that are permissive enough to let the limited user gain access to the pipe.