https://learn.microsoft.com/zh-tw/dotnet/api/system.security.accesscontrol.filesystemsecurity.resetaccessrule?view=netframework-4.8.1&viewFallbackFrom=net-10.0
FileSystemSecurity.ResetAccessRule(FileSystemAccessRule) Method (System.Security.AccessControl) |...
Adds the specified access control list (ACL) permission to the current file or directory and removes all matching ACL permissions.
system securitymethodaccesscontrol