Re: Redirected stdin/out and security
From: Gary Chanson (gchanson_at_No.Spam.TheWorld.net)
Date: 02/29/04
- Next message: Ben Ashley: "Re: Sharing a COM object in a MMF"
- Previous message: qfel: "Redirected stdin/out and security"
- In reply to: qfel: "Redirected stdin/out and security"
- Next in thread: Alexander Grigoriev: "Re: Redirected stdin/out and security"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 29 Feb 2004 04:24:06 -0500
"qfel" <as_in_nick@astercity.net> wrote in message
news:c1s74i$340$1@mamut.aster.pl...
> If I create process with redirected input and output, does it matter what
security
> descriptor is assigned to pipes it inherits as stdin/out?
> Or the child process is given same access to those objects as the parent
process?
I think it depends on what you pass as the security attributes. If you
pass a SECURITY_ATTRIBUTES with lpSecurityDescriptor set to NULL and
bInheritHandle set to TRUE, the pipe is assigned the default security
descriptor of the calling process.
-- -GJC [MS Windows SDK MVP] -Software Consultant (Embedded systems and Real Time Controls) - http://www.mvps.org/ArcaneIncantations/consulting.htm -gchanson@mvps.org
- Next message: Ben Ashley: "Re: Sharing a COM object in a MMF"
- Previous message: qfel: "Redirected stdin/out and security"
- In reply to: qfel: "Redirected stdin/out and security"
- Next in thread: Alexander Grigoriev: "Re: Redirected stdin/out and security"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|