File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Java in General
How to password protect a Zip file
Joined: Jan 20, 2010
Aug 17, 2010 08:38:15
I am creating a zip file and i need to make it password protected..
can anybody tell me the way how do i proceed ..
I am not having any idea..
Thanks in advance.
A small leak can sink a Gigantic ship.>
Joined: Feb 05, 2003
Aug 17, 2010 14:49:18
There is no standard way of doing this in
I have read about
, but I have not yet used it myself.
Joined: Aug 05, 2005
Aug 18, 2010 03:44:07
I'm pretty sure this has been discussed before and, as Bart says, the standard Java Zip classes don't support it.
You might want to do a search on the forum for these other discussions to see if any alternatives were suggested.
I agree. Here's the link:
subject: How to password protect a Zip file
Password protected zip file
How to unzip password protected zip file in java?
Accessing a zip file through a JSP page.
Compression with pwd
How create encrypted/password-protected zip file?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015