Reputation: 575
I have zipped and protected a file with a password. Now I need to retrieve the file back with java. So I need to unlock the password and unzip with Java to make a proper connection to the file.
My first Questions is: Does Java unzip and unlock the zipped file on the local drive? (So no point protecting it?).
I have read all about encryption, but really searching for the easiest way here. This link: http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/
My second Question is about the link above: I cannot find the lines where he is pointing to his zipped file on the local drive+ the password he uses to unlock the file (is it hardcoded?)
Thank you
Upvotes: 1
Views: 5575
Reputation: 851
You may want to have a look on Zip4j
Key features:
Upvotes: 4