加密的zip文件也可以保护其内部目录吗 [英] Can an encrypted zip-file also protect it's internal directory

查看:73
本文介绍了加密的zip文件也可以保护其内部目录吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WinZip AES 256使用DotNetZip创建一个加密的zip文件.但是,即使没有加密密钥,我也可以读取目录甚至删除某些zipentries.

I'm creating an encrypted zip file using DotNetZip using WinZip AES 256. However I'm able to read the directory and even to remove some of the zipentries without having the encryption key.

据我了解,目录可见性是Zip格式的限制.我只是想知道,这是否还适用于在zip文件中删除/添加组件的任何更改,或者是否存在防止此类更改的方法.

As far as I understand the directory visibility is a limitation of the Zip format. I just wonder, if this also applies for any changes in removing / adding components to the zip file or does there exist a way for preventing such changes.

快速阅读 Zip文件格式似乎表明,双压缩似乎是防止压缩文件中随机删除/添加组件的唯一解决方案,而不管单个条目的加密如何.

A quick read of Zip File Format seems to show, that double zipping seems to be the only solution to prevent random removal / addition of comoponents in a zipfile, regardless of encryption of the single entry.

推荐答案

来自Winzip 最后更新最近更新 2013年2月20日:

From the kb of the Winzip last update last updated 20 Feb, 2013:

要隐藏加密的Zip文件中的文件名,您可以将其双重压缩.为此:

To hide the names of the files in your encrypted Zip file, you can double zip them. To do this:

所以我不会说:-)

Winrar 具有加密文件名的选项,可惜该算法不是公开的.

Winrar has an option to encrypt the filenames, sadly the algorithm isn't public.

这篇关于加密的zip文件也可以保护其内部目录吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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