我可以为外部硬盘编写扩展吗

发布于 2024-09-27 02:22:30 字数 126 浏览 0 评论 0原文

我想通过编写某种 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

甜点 2024-10-04 02:22:30

您无法通过使用 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.

廻憶裏菂餘溫 2024-10-04 02:22:30

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.

寂寞清仓 2024-10-04 02:22:30

仅当您更改驱动器时才可能实现此目的。否则,仅在没有软件的系统上使用就会绕过它。

使用具有驱动器文件系统权限的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文