Microsoft KB Archive/111545

{|
 * width="100%"|

INFO: Security Context of Child Processes

 * }

Q111545

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), used with:
 * the operating system: Microsoft Windows NT, versions 3.1, 3.5
 * the operating system: Microsoft Windows 2000

-

SUMMARY
When a process is created with the CreateProcess API, it operates under the same security context as the parent. The child process inherits the parent's security context, which are defined by the parent's access token. Even if a thread in the parent process impersonates a client and then creates a new process, the new process still runs under the parent's original security context and not the under the impersonation token.

Additional query words: 3.10 3.50

Keywords : kbprogramming kbAPI kbKernBase kbOSWin2000 kbSecurity kbDSupport kbGrpDSKernBase

Issue type : kbinfo

Technology : kbAudDeveloper kbWin32sSearch kbWin32API