SGh*_*sal 7 encryption windows usb-drive usb
如何加密也可以从 Windows 访问的 usb pendrive/thumdrive/?实际上我有 ubuntu(Home) 和 Windows (Office) ,并且必须使用 usb pendrive 来回传输我的数据。所以我需要一个软件,这样我就可以从跨平台操作系统中添加文件,用我的密码解锁。请帮我 。提前致谢 ...
小智 5
对我来说,加密可以从 Windows 和 Ubuntu 访问的拇指驱动器的最简单方法是 Veracrypt。它适用于 Windows 和 Ubuntu。我用它所有的时间。
如果您需要加密用于存储在云中的容器,请考虑使用 Cryptomator。它适用于 Windows、Ubuntu 和您的手机/平板电脑。
zip -e
- 没有额外的硬件或软件 - 易于使用但不是很安全您可以通过加密zip
文件获得简单且安全级别较低的加密,该文件可以包含多个文件或目录树。只要您使用 zip 文件的标准加密,它就可以在 Ubuntu 和 Windows 中运行。
有zip
在Ubuntu,并且有几个工具在Windows中,这是兼容的(但如果你使用Windows中的某些“增强加密”,Ubuntu的zip
将可能无法解密)。
对于当前目录中的所有文件:
zip -e file.zip *
Run Code Online (Sandbox Code Playgroud)
对于当前目录树中的所有文件,“递归进入子目录”:
zip -er file.zip *
Run Code Online (Sandbox Code Playgroud)
解压
unzip file.zip
Run Code Online (Sandbox Code Playgroud)
从man zip
(在 Ubuntu 中),我们看到-e
或者--encrypt
是加密存档的选项。
Run Code Online (Sandbox Code Playgroud)-e --encrypt Encrypt the contents of the zip archive using a password which is entered on the terminal in response to a prompt (this will not be echoed; if standard error is not a tty, zip will exit with an error). The password prompt is repeated to save the user from typ? ing errors.
但不要使用选项-P
或--password
。
Run Code Online (Sandbox Code Playgroud)-P password --password password Use password to encrypt zipfile entries (if any). THIS IS INSECURE! Many multi-user operating systems provide ways for any user to see the current command line of any other user; even on stand-alone sys? tems there is always the threat of over-the-shoulder peeking. Stor? ing the plaintext password as part of a command line in an automated script is even worse. Whenever possible, use the non-echoing, interactive prompt to enter passwords. (And where security is truly important, use strong encryption such as Pretty Good Privacy instead of the relatively weak standard encryption provided by zipfile util? ities.)
gpg
是 Pretty Good Privacy 的 gnu 实现。它随 Ubuntu 一起提供,因为它用于验证更新是否正确传输,并且您可以使用它来压缩文件,例如包含要传输的文件的tar
存档或未加密zip
文件。有一个适用于 Windows 的版本,您可以安装。(我gpg
几年前安装在 Windows 中。)我认为 Veracrypt 比gpg
这个目的更方便,所以如果你想要比使用zip
或类似工具更好的安全性,我会推荐 Veracrypt 或一个专用的(已经加密的)USB 笔式驱动器,它与 linux 兼容。
归档时间: |
|
查看次数: |
2881 次 |
最近记录: |