Folder of file's permission inheritance
- From: "Sam Hobbs" <samuel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 11 Dec 2005 15:39:24 -0800
How to determine what folder (if relevant) that a file's permissions are
inherited from?
In a file's properties, the security tab has an Advanced button. That shows
details of the file's permissions. In there is an "Inherited From" column.
How can that data be obtained using WMI?
I have written a VB 6 program that gets the Win32_LogicalFileSecuritySetting
for a file, then calls GetSecurityDescriptor for it. I can display the
DACL's AccessMask, AceFlags and AceType. I can display the Domain, Name and
SIDString from the DACL's ACE's Trustee. I do not know, however, how to
determine the folder that the file's permissions are inherited from (when
inherited).
Perhaps it would be possible to figure out if I knew more about security,
but I did take a quick look and it is not obvious. I was hoping that I could
use WMI without getting into the details of what WMI does.
Is it possible to use WMI to get the folder that the file inherits
permissions from?
.
- Follow-Ups:
- Re: Folder of file's permission inheritance
- From: Gerry Hickman
- Re: Folder of file's permission inheritance
- From: Steven
- Re: Folder of file's permission inheritance
- Prev by Date: Re: EnableStatic on Windows 2000
- Next by Date: Ports to be freed for making WMI call
- Previous by thread: Re: Anyway to restore Exchange_Mailbox class
- Next by thread: Re: Folder of file's permission inheritance
- Index(es):
Relevant Pages
|