neuzheli MS backup ne delaet etogo???
esli net (v chem I silno somnevaus~)
mozhno tak (VB dlia nagliadnosti):
Dim sd as IADsSecurityDescriptor
Dim sdUtil as New ADsSecurityUtility
Set sd = sdUtil.GetSecurityDescriptor("c:\specs\adsixml.doc", ADS_PATH_FILE, ADS_SD_FORMAT_IID )
---
teper~ cherez sd mozhesh poluchit vse ostalnoe.
i sohranit` etu info kak hochesh.
Dla vostanovlenia vce obratnom poridke:
otkryvaesh vostanovlenye files
Set sd = sdUtil.GetSecurityDescriptor("c:\specs\adsixml.doc", ADS_PATH_FILE, ADS_SD_FORMAT_IID )
'set properies of sd (kotorye ranshe sohranil)
'set SD
sdUtil.SetSecurityDescriptor "c:\specs\adsixml.doc", ADS_PATH_FILE, sd, ADS_SD_FORMAT_IID
---
|