Dishan wrote:
Hi all
how do I set folder security permission to full access.( for "Everyone"
or Specific user )
regards
dishan
You can use the win32 API "SetFileSecurity" and the relative fucntions.
or
for pure managed code, using classes in "System.Management" namespace to
handle the WMI "ROOT.CIMV2.Win32.LogicalFileSecuritySetting" object to
set the security.
You need to understand the windows security concept, e.g. the
DACL,SecurityDescriptor,etc, in both methods.
--
Jacky Kwok
ja***@alumni.cuhk.edu.hk ja***@compose.com.hk