James Jones
James Jones

Reputation: 8763

Best way to manipulate Windows ACL permissions

My goal is to find out how to programmatically adjust permissions on files & directories in Windows using .NET.

I have identified the following options:

  1. Windows API (yuck!)
  2. Active Directory Service Interfaces (COM... ugh...)
  3. Windows PowerShell (?)
  4. Google for an easy-to-use facade.

None of these seem very palatable to me. Which route would you guys take? Perhaps there's another way?

Upvotes: 1

Views: 794

Answers (1)

PaulG
PaulG

Reputation: 14021

You can do this type of thing using the FileSecurity class

Upvotes: 3

Related Questions