文件夹锁 [英] Folder lock

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

问题描述

大家好,

我需要创建一个Windows应用程序以使用C#锁定文件和文件夹.我不知道该怎么办.

有人可以帮我吗?

谢谢
Abdullah

Hi all,

I need to create an windows application to lock files and folders with C#. I do not have any idea how can I do that.

Can any one help me?

Thank you,
Abdullah

推荐答案

如果没有托管代码,您将无法在C#中做到这一点,而且没有神奇的代码行可以折腾您. />
使用Active Directory并将组权限分配给用户,并在目录上设置安全性.

干杯.
You won''t be able to do that in C# without managed code, and there is no magic line of code we can toss your way.

Use Active Directory and assign group rights to the users, and set up security on the directories.

Cheers.


我不正确地知道

但我知道如何隐藏驱动器c:d:E:喜欢


第1步:运行&diskpart单击确定
第2步:输入:列表量
步骤3:选择:选择音量2
步骤4:删除:删除字母D
i don''t know correctly

but i know how to hide drives c: d: E: like


step 1 : run>diskpart click ok
step 2 : type : list volume
step 3 : select : select volume 2
step 4: remove : remove letter D


这篇关于文件夹锁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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