The cacls command in Windows XP and Vista can be used to deny read access to files to certain users. How can I find out which files in a directory tree are readable for a user after cacls has been run? A batch file solution is preferable.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
||||
|
|
|
You want the excellent Sysinternals command-line tool AccessChk. I created an example folder C:\test and populated it with two files, normal.txt and secure.txt. The latter file was set to be permissioned only to my account whereas normal.txt has the default inherited permissions. The command I then used was
I then ran it with another user:
Hopefully that does the job! |
|||||
|
