windows - CreateRestrictedToken( ) from WinAPI -


my question winapi createrestrictedtoken( ) function.

how can create token allows process initialize , start itself, restrict access all files on computer, except specified files?

obviously should enable logon sid in token (to let process use window station). i'm bit confused sidstodisable , sidstorestrict function. usage not clear me.

the plan start process logon sid enabled, , grant permission logon sid files. seems not work. i'm stuck, , need help.


Comments

Popular posts from this blog

github - Git errors while pushing -

Unity3d perpendicular vector3 -

c++ - How can I delete a QSharedPointer -