Access Tokens

An access token is an object that describes the security context of a process or thread. The information in a token includes the identity and privileges of the user account associated with the process or thread.

After a user authenticates, the system generates an access token for it. Every process executed on behalf of this user gets a copy of this access token.

Even the interactive Windows Session (GUI) started by the user at login gets a copy of the token.

An access token contains:

The token is checked when the user starts interacts with securable objects:

Access check process

There are 2 types of access token:

Primary Token

Assigned to processes. Obtained at login.

Impersonation Token

Assigned to threads. Obtained from processes for temporary (current session) impersonation.

Last updated