RE: BACKUP_SEMANTICS and inherited ACE
- From: rkakv <rkakv@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 18 Sep 2009 11:24:02 -0700
I don't think this functionality is currently exposed.
I mean, an executable with SE_BACKUP_NAME (BACKUP_OPERATOR) privilege
enabled, cannot use GetNamedSecurityInfo and hence cannot determine whether
an ACE is inherited or not.
Even GetExplicitEntriesFromACL won't help you.
"Himanshu" wrote:
I have a backup application that needs to determine whether an ACE is.
inherited on not. I am using the following APIs in the given order.
1. CreateFile(filename, READ_CONTROL, FILE_SHARE_READ, NULL, OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS, NULL);
2. GetKernelObjectSecurity(handle, DACL_SECURITY_INFORMATION, ...);
The dacl returned by #2, does not have the INHERITED_ACE flag set for the
inherited ACEs.
If I use GetNamedSecurityInfo I do get the flag set, but this function does
not support BACKUP_SEMNATICS.
How does one determine whether an ACE is inherited or not for a file which
does not grant me any access?
Thanks for the help.
- References:
- BACKUP_SEMANTICS and inherited ACE
- From: Himanshu
- BACKUP_SEMANTICS and inherited ACE
- Prev by Date: Re: Invalid Signature when sign a PDF with iTextSharp and CSP private provider
- Next by Date: figuring out the relationship between CA and end-user cert
- Previous by thread: BACKUP_SEMANTICS and inherited ACE
- Next by thread: Invalid Signature when sign a PDF with iTextSharp and CSP private provider
- Index(es):
Relevant Pages
|