WIN32中的文件夹锁定 [英] Folder lock in WIN32

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

问题描述

大家好,
请给我使用Win32程序创建文件夹锁的逻辑.
我所说的文件夹锁是,如果有人试图打开该文件夹
文件夹,它应该询问密码,如果密码不正确,
该文件夹不可访问...

谢谢..

hi all,
please give me the logic to creat a folder lock using Win32 program.
what i mean by folder lock is, if any one is trying to open that
folder, it should ask for the password and if password is incorrect,
the folder should not be accessable...

Thank you..

推荐答案

您将需要一个文件系统过滤器驱动程序.
这是一个示例驱动程序- http://www.eldos.com/cbflt/ [文件系统过滤器驱动程序指南 [ http://www.calsoftlabs.com/whitepapers/filter-driver.html [ ^ ]
http://msdn.microsoft.com/en-us/windows/hardware/gg462968 [ ^ ]
You will need a file system filter driver for this.
Here is a sample driver - http://www.eldos.com/cbflt/[^]

Here are some good reads about writing file system filter drivers -
File System Filter Driver Tutorial[^]
http://www.calsoftlabs.com/whitepapers/filter-driver.html[^]
http://msdn.microsoft.com/en-us/windows/hardware/gg462968[^]


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

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