SharpZipLib icon indicating copy to clipboard operation
SharpZipLib copied to clipboard

Question: Can i password-protect the zip-file but not the entries in it?

Open HansKindberg opened this issue 3 years ago • 1 comments

When I use ZipOutputStream.Password each entry in the created zip-file is password-protected. I expected the zip-file itself to be password-protected. Is it possible to password-protect the zip-file I want to create and not the entries in it?

HansKindberg avatar Mar 25 '22 09:03 HansKindberg

I believe that you cannot per the ZIP file format specification (wikipedia).

mudnug avatar Jul 22 '22 02:07 mudnug