my dog learned polymorphism*
The moose likes I/O and Streams and the fly likes Password protected zip file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Password protected zip file" Watch "Password protected zip file" New topic

Password protected zip file

Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Hi All,

How can i make a password protected zip file?
Shyam Prasad Murarka
Ranch Hand

Joined: May 02, 2005
Posts: 209
Dear Readers,
Here is an extract from "Thinking in Java" by Bruce Eckel

However, even though the Zip format has a way to set a password, this is not supported in Java�s Zip library.

With Best Regards,
Shyam Prasad Murarka
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Can anyone help on this? To zip a file and make it password protected?
It is sorta covered in the JavaRanch Style Guide.
subject: Password protected zip file
Similar Threads
Can anyone help?
How create encrypted/password-protected zip file?
Read a passowrd protected zip file
How to password protect a zip file?
How to unzip password protected zip file in java?