Skip to main content
Inspiring
May 27, 2008
Question

zip it. zip it good.

  • May 27, 2008
  • 2 replies
  • 622 views
We currently have CF7 here and use zip.cfc to create zip files, however, we have a new project which needs password protected zip files. Is anyone else using zip.cfc and generating zip files with passwords?

Alternatively, can CF8 generate a zip file with a password? If yes, could someone point me to how.

I know that password protection on zip files can be cracked, but the project owner requires it. Thanks!
This topic has been closed for replies.

2 replies

tclaremont
Inspiring
May 30, 2008
7-zip is a great option for people with control over their own server. If you are on a shared host it will likely be a challenge to get the hosting provider to install it.

Of course, if your objective is to generate and deliver confidential information, a shared host is hopefully not what you are using!
May 27, 2008
ccsimmons,

I haven't looked at zip.cfc, but another option you could consider is installing 7-zip ( http://7-zip.org/) on your server and using cfexecute to perform the zip command. 7-zip is free and has lots of options, including several encryption methods.

James