INFO: Security Context of Child Processes (111545)



The information in this article applies to:

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

This article was previously published under Q111545

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.

Modification Type:MajorLast Reviewed:4/8/2004
Keywords:kbAPI kbinfo kbKernBase kbProgramming kbSecurity KB111545