Introduction - If you have any usage issues, please Google them yourself
This 4 part series will discuss the Windows access control model and how it is implemented in Windows NT and 2000. In this 2nd article we will start programming with security identifiers, access control lists and security descriptors. We will solve trivial problems using the SID, obtain information from an access token, enable a privilege, fill up an access control list, and finally we will check if we have access to a resource. The demo project provided is a Whoami clone written Windows 2000 style. The source code includes equivalent programs of the article s code written with the Low level APIs, the Windows 2000 APIs, and the Active Template Library.
Packet : 807902userfun.zip filelist
2000/
2000/2000.vcproj
2000/boosthelper.h
2000/Privateobject.h
2000/release/
2000/release/2000.exe
2000/Safer.h
2000/sized_array.h
2000/UserFun2000.cpp
2000/UserFun2000.h
ATL/
ATL/PrivateObject.cpp
ATL/PrivateObject.h
ATL/release/
ATL/release/UserFun.exe
ATL/stdafx.cpp
ATL/stdafx.h
ATL/UserFun.vcproj
ATL/UserFunATL.cpp
Boostlib.txt
LowLevel/
LowLevel/LowLevel.vcproj
LowLevel/release/
LowLevel/release/LowLevel.exe
LowLevel/UserFunLowLevel.c
ReadMe.txt