B
bradley
I am developing a website which allows a user to upload documents (MS Word,
PDF, etc) to a folder located beneath the website root. This works fine.
However, for storage space and security reasons, I would like to have the
process compress the file with encryption prior to writing it to the folder.
Perhaps the filename could be the same as the original, but with an
additional .zip extention. For example: sales2004.xls.zip. When the user
clicks on a link to download the file, I would like to have them download an
uncompressed version of the file without the zip extension, so it is
transparent from the user's perspective.
Are there any free libraries to compress / uncompress the pkzip format with
encryption?
Would the best approach for making this a seamless operation for users be to
program around the file stream?
Any general advice or alternative implementations from someone who has done
something similar before?
PDF, etc) to a folder located beneath the website root. This works fine.
However, for storage space and security reasons, I would like to have the
process compress the file with encryption prior to writing it to the folder.
Perhaps the filename could be the same as the original, but with an
additional .zip extention. For example: sales2004.xls.zip. When the user
clicks on a link to download the file, I would like to have them download an
uncompressed version of the file without the zip extension, so it is
transparent from the user's perspective.
Are there any free libraries to compress / uncompress the pkzip format with
encryption?
Would the best approach for making this a seamless operation for users be to
program around the file stream?
Any general advice or alternative implementations from someone who has done
something similar before?