C# FileIOPermission中的FileIOPermission访问和ACL

C# FileIOPermission中的FileIOPermission访问和ACL,c#,.net,security,acl,C#,.net,Security,Acl,其中一个构造函数同时接受a和枚举。我看不出第二个枚举在这里有什么用处,因为第一个枚举已经给出了所需的访问限制——更不用说不一致了 文档中不清楚此处如何使用ACL信息。ACL参数增加的值是多少 多谢各位 The control parameter specifies whether the access control list (ACL) for the file or directory specified by path can be changed, viewed, or cannot b

其中一个构造函数同时接受a和枚举。我看不出第二个枚举在这里有什么用处,因为第一个枚举已经给出了所需的访问限制——更不用说不一致了

文档中不清楚此处如何使用ACL信息。ACL参数增加的值是多少

多谢各位

The control parameter specifies whether the access control list (ACL)
for the file or directory specified by path
can be changed, viewed, or cannot be accessed.
AccessControlActions定义是否可以更改、查看或锁定FileIOPermissionAccess中指定的权限

更改用户可以更改指定路径的ACL

查看用户可以查看指定路径的ACL,但不能再更改ACL

None用户既不能更改也不能查看指定路径的ACL

实际上,这意味着您可以允许用户查看文件夹的内容,但拒绝查看此文件夹的ACL