如何开发加密U盘
我需要开发一个加密的 USB 闪存驱动器来保护我的数据。这是高级想法:
- 当 USB 插入 PC 时,它将显示一个应用程序,例如“openfile.exe”
- 当我运行“openfile.exe”时,它将打开 USB(需要提供密码)进行保存里面的其他文件。
- 现在用户可以像往常一样将文件保存在 USB 中,该文件将被加密。
- 当我从 PC 上拔出 USB 并再次插入时,它将从步骤 1 开始,
因此用户在插入后总是会看到“openfile.exe”,直到他们运行我的应用程序 放置在 USB 中。并且数据将受到保护。
我不知道,创建虚拟 USB 模拟器怎么样? 有人知道如何进行吗?
谢谢。
I need to develop an encrypted USB Flash drive to protect my data. Here is the high level idea:
- When USB will be plugged in PC, it will show one application, for example "openfile.exe"
- When I run the "openfile.exe" it will open the USB (need to give password) for saving other files in it.
- Now user can save file in the USB as usual which will be encrypted.
- When I plug out the USB from the PC and plugin again, it will start from Step 1
So user always see the "openfile.exe" after plugin it until they run my application
placed in USB. And data will be secured.
I have no idea, how about creating Virtual USB Simulator?
Any one have idea how to proceed?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它不是虚拟 USB 模拟器,而是一个虚拟文件系统(您创建一个虚拟磁盘,其驱动器号在驱动程序的帮助下映射到实际位置)。我们的多种产品(即 CBFS Storage 和 CBFS Connect)可用于此任务。
这种方法的缺点是您必须将内核模式驱动程序安装到系统中。您的应用程序可以即时执行此操作,但它需要具有执行此任务的管理权限。也就是说,当你来到网吧,插入你的USB记忆棒并拥有加密磁盘的情况几乎是不可能的(因为网吧管理员不会给你管理员权限)。
It's not virtual USB simulator, but a virtual file system (you create a virtual disk with a drive letter that is mapped to real location with help of drivers). Several of our products (namely CBFS Storage and CBFS Connect) can be used for this task.
The drawback of this approach is that you have to install the kernel-mode drivers to the system. Your application can do this on the fly, but it needs to have administrative privileges for this task. I.e. the scenario when you come to internet cafe, plug your USB stick and have an encrypted disk is almost never possible (cause admins of internet cafe won't give you admin rights).