문제

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