Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deny access to named pipes outside the machine (example C++ code)

13 views
Skip to first unread message

Dorel Sturm

unread,
Nov 17, 2009, 9:38:34 AM11/17/09
to
Hi,

I have some named pipes used for inter process communication. I don't want that these pipes are accessible from outside. Microsoft
documenation says for CreateNamedPipe that I have to deny access to the pipe to the NETWORK ACE. I'm not a specilist in poking
around with ACE, DACL etc.

I found that I need to play with these functions InitializeAcl, AddAccessAllowedAce, AddAccessDeniedAce,
InitializeSecurityDescriptor, and SetSecurityDescriptorDacl.

Any idea where I can find an example code in C/C++ for this?

Thanks for your help.

Dorel Sturm


0 new messages