Bug mit der Path Variable im TC

German support forum

Moderators: Hacker, Stefan2, white

User avatar
HolgerK
Power Member
Power Member
Posts: 5411
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

ghisler(Author) wrote:
OpenProcessToken
Hmm, das gibt aber ein ProcessToken, kein Usertoken, oder ist das dasselbe?
MSDN wrote:OpenProcessToken
The OpenProcessToken function opens the access token associated with a process.
MSDN wrote:access token
An access token contains the security information for a logon session. The system creates an access token when a user logs on, and every process executed on behalf of the user has a copy of the token. The token identifies the user, the user's groups, and the user's privileges. The system uses the token to control access to securable objects and to control the ability of the user to perform various system-related operations on the local computer. There are two kinds of access token, primary and impersonation.

See also impersonation token, primary token, privilege, process, and security identifier.
Wie bereits erwähnt: Im C-Debugger habe ich bereits auf den EnvironmentBlock zugreifen können.
Das Delphi-Beispiel sollte sich schnell verifizieren lassen.

Gruß
Holger
Post Reply