>>Does someone ever used SetFileSecurity() WINAPI32 function which is used to set some security on a file?
>>
>>We can't find any information on the SECURITY_DECRIPTOR structure.
>>
>>Any help will be appreciated.
>>
>>Or, if you have a sample, it will be better.
>>
>>Thanks.
>Hope this can help ( this is VBA) :
>Type SECURITY_DESCRIPTOR
> Revision As Byte
> Sbz1 As Byte
> Control As Long
> Owner As Long
> Group As Long
> Sacl As ACL
> Dacl As ACL
>End Type
Thanks, this is better than in WIN32API. :)