如何在c#中设置文件夹的密码? [英] How to set a password to folder in c#?
本文介绍了如何在c#中设置文件夹的密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友,
我正在开发c#.net中的独立应用程序。我想通过代码给文件夹一个密码。是否有可能.. ??
hello friends,
i am developing standalone application in c#.net. I want to give a password to folder through code. Is it possible.. ??
推荐答案
虽然FAT32或NTFS文件系统都没有低级别的密码保护支持,但您可以使用某些Windows工具来设置各种文件夹的访问权限类型:[ ^ ]。
但是,如果您认为自己已经通过这种方式获得了一定程度的安全性,那么您就错了。这只会阻止最不熟练的黑客:......但是,也许这就是你想要的一切?
Although neither the FAT32 or NTFS file systems have low-level support for password protection, you can use certain Windows facilities to set various types of access rights to a folder: [^].
However, if you think you've achieved some high level of security this way, you are mistaken. This would only deter the least skilled of hackers: ... but, maybe that's all you want ?
这篇关于如何在c#中设置文件夹的密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文