[python-win32] Where is MakeAbsoluteSD?

eryk sun eryksun at gmail.com
Wed Jun 27 02:22:31 EDT 2018


On Wed, Jun 27, 2018 at 5:04 AM, Rob Marshall <rob.marshall17 at gmail.com> wrote:
>
> I'm trying to convert a self-relative security descriptor, i.e. the
> type that is returned by
> win32security.ConvertStringSecurityDescriptorToSecurityDescriptor(),
> to an absolute SD but I can't seem to find the MakeAbsoluteSD()
> function. Where is it?

A PySECURITY_DESCRIPTOR object is stored in self-relative format.
Internally it's converted to absolute format for functions that
require it, such as SetSecurityDescriptorDacl. See the source:

https://github.com/mhammond/pywin32/blob/b223/win32/src/PySECURITY_DESCRIPTOR.cpp


More information about the python-win32 mailing list