Re: Event object Access

From: Eric Fitzgerald [MSFT] (ericf@online.microsoft.com)
Date: 01/31/03


From: "Eric Fitzgerald [MSFT]" <ericf@online.microsoft.com>
Date: Thu, 30 Jan 2003 16:03:43 -0800


You must change the security descriptor of the object (from the process that
created it, XYZ), to allow the other process [or more precisely, the account
under which the other process is running] to access the object.

-- 
Eric Fitzgerald
Program Manager, Windows Auditing and Intrusion Detection
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"Wayne King" <waynelking@attbi.com> wrote in message
news:07da01c2c88e$88616270$cef82ecf@TK2MSFTNGXA08...
> I have a named event object (created via CreateEvent) that
> is created in the context of a service.  I would like to
> obtain access to the event object from another process
> (call it process xyz) so that process xyz can set the
> event.  However process xyz always has an error code
> 5, 'access is denied', return from any attempt to obtain
> the event handle either via OpenEvent or CreateEvent.  It
> looks like I have to something with the security
> descriptors involved with the event object but I'm not
> sure what.  Any ideas?
>
> Thanks,
> Wayne