• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

related to encryption alomg with password protection

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am working at CTS i got a problemn which i am unable to solve, can any one suggest a solution

Problemn Statement:
I have to encrypt and zip a file but, when i try to open the zip file ie double click on the zip file it has to prompt for a password and if the password is correct then decrypt the file and open it, How could this task be achieved through java any tjird party jars do I need to use in my prog. Just let me know as soon as possible.

Arun.

[ UD: Removed email address, because we like to keep discussions in the forums. ]
[ October 27, 2006: Message edited by: Ulf Dittmer ]
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The java.util.zip package can't read or write password-protected zip files, but I think Winzip (which can handle passwords) can be used through the command line, which would allow a Java program to call it through Runtime.exec.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic