我们可以更改 drive/removable 驱动器权限级别吗?

Can we change a drive/removable drive permission level?

我想将可移动驱动器 (USB) 的权限级别更改为对所有人只读,并完全控制 windows 的当前用户。互联网上有许多教程可用于更改文件、文件夹、目录、权限级别。但我找不到任何来源来更改 USB 的权限级别。谁能帮我解决这个问题?

我们可以更改或添加新用户,我们可以在 windows 中使用手动方法更改权限并添加新权限,即使用 windows 的 GUI。但是我们如何在 C#.NET 中执行此操作?

我只是使用这个 Link 并包括这个命名空间 System.Security.Principal.

来解决我的问题
DirectorySecurity sec = Directory.GetAccessControl(path);
// Using this instead of the "Everyone" string means we work on non-English systems. 
 SecurityIdentifier everyone = new SecurityIdentifier(WellKnownSidType.WorldSid, null);
sec.AddAccessRule(new FileSystemAccessRule(everyone, FileSystemRights.Modify | FileSystemRights.Synchronize, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, PropagationFlags.None, AccessControlType.Allow));
Directory.SetAccessControl(path, sec);