Changing access on a shared directory on NT using Delphi
Posted on 2003-03-17
I am trying to change the group access on a shared directory. I do not have DAPI.dll installed and do not wish to add components to Delphi as the application that creates the share is part of a complex initialization program that needs to be able to be built on multiple machines.
My investigations so far have led me to believe that I need to use Security descriptors(SD), ACL's, and ACE's. I have been looking at the Microsoft specs for SetSecurityDescriptorDACL etc but so far have had little success in extracting the old SD or setting and associating the new SD.
Could someone please point me at a code snippit that I could clone.