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.

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.

EDIT:

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.

有帮助吗?

解决方案

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

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

So I'll say no :-)

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top