我可以为外部硬盘编写扩展吗
我想通过编写某种 ShellExtension 来保护我的外部硬盘。但 Shell 扩展是特定于工作站的。
有没有一种方法可以编写一个应用程序来显示身份验证或扩展加密我的驱动器数据,以便用户在双击我的驱动器时收到失败消息。
I want to secure my external hard disk by writing sort of ShellExtension. But Shell extension is Workstation Specific.
Is there a way I can write an application that will show a authentication or an extension encrypt my drive data so user will get a failure message when double click on my drive.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您无法通过使用 shell 扩展来保护外部硬盘驱动器的安全。
如果您想保证数据安全,您只能做一件事:对其进行加密。 NTFS 具有内置加密功能,但由于加密密钥的处理方式,我不建议将其用于外部驱动器。
不过,有一个很好的预制解决方案适合您:TrueCrypt。它可以工作,可用于多种操作系统,具有不错的速度和良好的安全性。 使用它。
You can't secure an external harddrive by the use of a shell extension, period.
If you want to keep your data safe, there's only one thing you can do: encrypt it. NTFS has built-in encryption, but I wouldn't recommend using that for an external drive, because of the way the encryption keys are handled.
There's a nice pre-cooked solution for you, though: TrueCrypt. It works, is available for multiple operating systems, has decent speed, and good security. Use it.
1)你不应该在.net中编写shell扩展
这会导致很多麻烦,因为 .net 运行时会被注入到每个显示 shell 窗口(如文件打开对话框)的应用程序中,如果它已经使用了不同版本的运行时,它可能会崩溃。
2)我真的不明白你想做什么。但我用 TrueCrypt 加密我的外部硬盘。这既安全又易于使用。
1) You should not write a shellextension in .net
This causes lots of trouble since then the .net runtime is injected into every application displaying a shell window (like the file open dialog) and if it already uses a different version of the runtime it will likely break.
2) I don't really understand what you are trying to do. But I encrypt my external harddisk with TrueCrypt. That's secure and easy to use.
仅当您更改驱动器时才可能实现此目的。否则,仅在没有软件的系统上使用就会绕过它。
使用具有驱动器文件系统权限的 NTFS 将会被具有适用 Windows 权限的任何人绕过。
使用加密工具可能是最好的:一个包含完整驱动器的单个公共文件,只能通过正确的软件和身份验证才能访问 - 有很多。
This is only possible if you change the drive. Otherwise just using on a system without your software would bypass it.
Using NTFS with permissions for the drive's file system would be bypassed by anyone with applicable Window's privileges.
Using an encryption tool may be best: a single public file which contains a complete drive only accessible with the right software and authentication—there are a number around.