c# - Can an encrypted zip-file also protect it's internal directory -


i'm creating encrypted zip file using dotnetzip using winzip aes 256. i'm able read directory , remove of zipentries without having encryption key.

as far understand directory visibility limitation of zip format. wonder, if applies changes in removing / adding components zip file or there exist way preventing such changes.

edit:

a quick read of zip file format seems show, double zipping seems solution prevent random removal / addition of comoponents in zipfile, regardless of encryption of single entry.

from kb of winzip last update last updated 20 feb, 2013:

to hide names of files in encrypted zip file, can double zip them. this:

so i'll no :-)

winrar has option encrypt filenames, sadly algorithm isn't public.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -