Page 1 of 1

Possible to password protect files?

Posted: 01 May 2012, 02:07
by cachecan
I am looking for a way to password protect certain pdfs so that only users have been given the password will be able to download the file. Is this possible with Phocca Download? I saw someone on another board suggesting this product for this purpose, but I didn't see anything about it in the documentation.

Thanks in advance!

Re: Possible to password protect files?

Posted: 03 May 2012, 18:08
by dip
Try this way:
  1. Manually create folder outside the public_html and create 1 subfolder to store PDF inside.
  2. Set password protection for this folder (or subfolder) on web-server (managed via web-server. For Apache used .htaccess + .htpasswd)
  3. Set absolute path of Phoca Download folder to this folder (PD Options).
  4. Set download folder to subfolder (PD Options).
  5. Upload PDF in subfolder and publish it from PD (enable Direct Link for file).