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!
Possible to password protect files?
-
- Phoca Member
- Posts: 43
- Joined: 09 Apr 2012, 16:33
- Location: Russia
Re: Possible to password protect files?
Try this way:
- Manually create folder outside the public_html and create 1 subfolder to store PDF inside.
- Set password protection for this folder (or subfolder) on web-server (managed via web-server. For Apache used .htaccess + .htpasswd)
- Set absolute path of Phoca Download folder to this folder (PD Options).
- Set download folder to subfolder (PD Options).
- Upload PDF in subfolder and publish it from PD (enable Direct Link for file).