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

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -