wood burning stoves 2.0*
The moose likes Java in General and the fly likes How to password protect a Zip file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to password protect a Zip file" Watch "How to password protect a Zip file" New topic
Author

How to password protect a Zip file

Raza Mohd
Ranch Hand

Joined: Jan 20, 2010
Posts: 247

Hi everybody..
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.
Thanks
Raza!


Good luck!!
A small leak can sink a Gigantic ship.>
bart zagers
Ranch Hand

Joined: Feb 05, 2003
Posts: 234
There is no standard way of doing this in java.
I have read about winzipaes , but I have not yet used it myself.
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3415
    
  12
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.


Joanne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to password protect a Zip file
 
Similar Threads
Accessing a zip file through a JSP page.
Compression with pwd
Password protected zip file
How to unzip password protected zip file in java?
How create encrypted/password-protected zip file?