Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将应用程序的权限设置为只读/执行,我可以通过使用 c++ windowsSetSecurityDescriptorDacl()函数来实现这一点。
SetSecurityDescriptorDacl()
但是之后管理员可以通过右键单击文件来更改它
属性->安全->高级->更改权限
但不知何故,杀毒软件会阻止他们的应用程序产生这些费用,如下图所示