Setting Read/Write access
Posted: Sat Jul 11, 2009 4:42 pm
How do I set rights on a folder to allow "Read" and "Write" access but not "List folder contents" or "Execute"?
I am able to set full rights with this code but I need to limit the users to have only read/write access.
I need the security to be like this.
Code: Select all
With FileSecurity(Path).DACL do
begin
Clear;
NewItem(Account('S-1-5-11'), GENERIC_All, atAllowed, [afObjectInherit, afContainerInherit]);
end;
I need the security to be like this.