Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

difference between filtered token and restricted token

Is there a difference between Restricted Token and Filtered Token. From what I can see, they both seem synonymous, but the Windows Internals book has confused me a bit.

like image 670
Sri Avatar asked Oct 24 '25 02:10

Sri


1 Answers

Microsoft appear to use "restricted token" and "filtered token" interchangeably at least some of the time, e.g., in the documentation for TOKEN_INFORMATION_CLASS:

TokenHasRestrictions

The buffer receives a DWORD value that is nonzero if the token has ever been filtered.

However, "filtered token" is most often used in the specific context of UAC, to describe the restricted token generated by UAC when an administrator logs on. For a restricted token generated in any other way, it is probably safer to stick to "restricted".

like image 132
Harry Johnston Avatar answered Oct 26 '25 20:10

Harry Johnston