Auditing file permissions
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I need to audit an exe file to ensure that only Administrators have write access. Non-Administrators can have execute access. This is a read-only audit; I will not alter the existing security of a file. I have tried to search the MSDN and the CodeProject articles. If someone knows what keywords would work for finding answers then that might be all I need. I don't need a complete sample; just a general direction I hope is enough. I know about DACLs and SIDs and authorities and RIDs and ACLs and ACEs. I suspect that I need to use the AccessCheck function, but it is certainly complicated. If someone can verify that AccessCheck will do what I need to do then that will help.