reading file permissions

  • Thread starter Thread starter HateBSOD
  • Start date Start date
H

HateBSOD

Is there a way to read check file permissions on groups of files, via
xml. I am just looking for a sample of how to read a file /and/or files
and get the file permissions , same goes for registry, anyone know of
any good tuts or have any pointers / books for me to look at or
reccomend
 
HateBSOD,

I don't know what you mean "via XML".

However, in .NET, there is no managed way to get the access control
lists for a file or the registry. You will have to resort to the API,
calling it through the P/Invoke layer.

Hope this helps.
 
Back
Top