如何在C ++中隐藏/锁定文件夹? [英] How to hide/lock folders in C++?

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

问题描述

大家好!
我想开发一种阻止访问特定文件夹/文件的软件.
而且我还希望该应用隐藏文件夹一样长.
如果该应用程序可在Vista/7上运行,则非常受欢迎.
如果您有任何源代码或已经实现了这样的项目,请帮助我.
期待您的好答案.

问候.
挂钩.

Hello everyone!
I want to develop a software which blocks an accessing specific folders/files.
And I also want the app to hide folders as long.
And it is welcome if the app works on vista/seven.
If you have any source code or have implemented such project, then please help me.
Looking forward your good answers.

Regards.
Hook.

推荐答案

此处是隐藏文件的有用链接
http://msdn.microsoft.com/en-us/library/aa365535% 28VS.85%29.aspx [ ^ ]

对于锁定它,这里是一个有用的链接

http://msdn.microsoft.com/en-us/library/aa365202% 28VS.85%29.aspx [ ^ ]
Here is one useful link for hiding a file
http://msdn.microsoft.com/en-us/library/aa365535%28VS.85%29.aspx[^]

And for locking it here is a useful link

http://msdn.microsoft.com/en-us/library/aa365202%28VS.85%29.aspx[^]


这篇关于如何在C ++中隐藏/锁定文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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