D
Dishan
Hi all
how do I set folder security permission to full access.( for "Everyone"
or Specific user )
regards
dishan
how do I set folder security permission to full access.( for "Everyone"
or Specific user )
regards
dishan
Dishan said:Hi all
how do I set folder security permission to full access.( for "Everyone"
or Specific user )
regards
dishan
Jacky Kwok said: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.
Dishan said:Can u give me some sample code ??
thanks
Dishan