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.
 
Thanks, I dont know what I was thinking when I wrote xml either.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top