Any idea why this is happening? How can I fix this problem?
Mike
The devil is in the details. You'll need to show some code, preferably in
the kernel group.
Something like this (up to the casts) which I typed without benefit of
compilation should do the trick:
BYTE sd[SECURITY_DESCRIPTOR_MIN_LENGTH];
SECURITY_ATTRIBUTES sa;
InitializeSecurityDescriptor(&sd, SECURITY_DESCRIPTOR_REVISION);
SetSecurityDescriptorDacl(&sd, TRUE, 0, FALSE);
sa.nLength = sizeof(sa);
sa.bInheritHandle = TRUE;
sa.lpSecurityDescriptor = &sd;
CreateNamedPipe(..., &sa);
Regards,
Will
Thanks for your help.
Mike
OK. The reason I asked to see some code is that your old approach may be
more secure in that what I posted makes the pipe available to just about any
authenticated user.
> Thanks for your help.
You are welcome.
Regards,
Will