如何按文件夹更改访问权限? [英] How is changing acces by folder?

查看:77
本文介绍了如何按文件夹更改访问权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.拜托,请帮我.我知道如何手动更改acces(属性/安全性.....),但是我不知道如何在程序中进行更改.感谢您的来信,文章等.

谢谢您的帮助!

Hello. Please, help me in his quastion. I know how to change acces by hand (properties/security.....), but I don''t know how to do it in my program. I will be thanks for your sorces, articles etc..

Thank you for your help!

推荐答案

有关此问题的众多答案之一:
http://stackoverflow.com/questions/910528/how-to-change- the-acls-from-c [ ^ ].

我希望您理解使用此代码修改访问列表的权限不能超出该代码用户已经拥有的权限.在Windows 7中,您需要以提升的权限运行此类代码.请参阅:
http://www.sevenforums.com/tutorials/11841-run-administrator.html [ ^ ].

—SA
One of the many sources of answers on this problem:
http://stackoverflow.com/questions/910528/how-to-change-the-acls-from-c[^].

I hope you understand that your permissions to modify access list using this code could not go beyond the privileges the user of this code already has. With Windows 7, you would need to run such code with elevated permissions. Please see:
http://www.sevenforums.com/tutorials/11841-run-administrator.html[^].

—SA


这篇关于如何按文件夹更改访问权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆