Re: Cant get SACL
- From: Stefan Kuhr <kustt110@xxxxxx>
- Date: Tue, 10 Jul 2007 18:01:28 +0200
Hello Akin,
Akın ÖCal wrote:
I cant get SACL of an existing file on my system with this code.
GetNamedSecurityInfo returns 0 (ERROR_SUCCESS) , which means
there is no error in execution of it but pSACL still becomes 0x00000000
and IsValidAcl(pSACL) returns FALSE .
Are you sure the file contains a SACL? You could double-check with the more low-level functions GetFileSecurity to retrieve the file's Security descriptor and then GetSecurityDescriptorSacl to retrieve the SACL.
--
Stefan
.
- References:
- Cant get SACL
- From: Akın ÖCal
- Cant get SACL
- Prev by Date: Re: Does anyone back up Certificates?
- Next by Date: How to access share using specific credentials?
- Previous by thread: Cant get SACL
- Next by thread: Certificate Revocation
- Index(es):
Relevant Pages
|