23 ms·
So, going back to Win32, it's as if OpenFile also took a HANDLE that represented your abilities (or capabilities if you will ) within the security model, with t
by monocasa 10y ago
So, going back to Win32, it's as if OpenFile also took a HANDLE that represented your abilities (or capabilities if you will ) within the security model, with the explicit ability to forward these handles (or new handles that represent a subset of the original's capabilities) to other processes if you choose.
- jvert 10y agoIn Win32, this handle is called the AccessToken https://msdn.microsoft.com/en-us/library/windows/desktop/aa374909(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/aa3... and the calling thread's current access token is used by OpenFile to grant or deny the requested access.