Click or drag to resize
Xcalibur Systems LLC Logo

ProcessAccess Enumeration

The Microsoft Windows security model enables you to control access to process objects. For more information about security, see Access-Control Model. When a user logs in, the system collects a set of data that uniquely identifies the user during the authentication process, and stores it in an access token.This access token describes the security context of all processes associated with the user.The security context of a process is the set of credentials given to the process or the user account that created the process.

Process Security and Access Rights


Namespace: Xcalibur.NativeMethods.V2.Processes
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[FlagsAttribute]
public enum ProcessAccess
Members
Member nameValueDescription
Terminate1 Required to terminate a process using .
CreateThread2 Required to create a thread.
SetSessionId4 The set session identifier
VirtualMemoryOperation8 Required to perform an operation on the address space of a process (see VirtualProtectEx and WriteProcessMemory).
VirtualMemoryRead16 Required to read memory in a process using ReadProcessMemory.
VirtualMemoryWrite32 Required to write to memory in a process using WriteProcessMemory.
DuplicateHandle64 Required to duplicate a handle using .
CreateProcess128 Required to create a process.
SetQuota256 Required to set memory limits using .
SetInformation512 Required to set certain information about a process, such as its priority class (see SetPriorityClass).
QueryInformation1,024 Required to retrieve certain information about a process, such as its token, exit code, and priority class (see ).
QueryLimitedInformation4,096 Required to retrieve certain information about a process (see , , , ). A handle that has the access right is automatically granted .
Synchronize1,048,576 The right to use the object for synchronization. This enables a thread to wait until the object is in the signaled state. Some object types do not support this access right.
AllAccess2,035,711 All possible access rights for a process object.
See Also