Preventing a download through a link. Preventing a download through a link.
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Preventing a download through a link.

Started by jmcosta, February 09, 2006, 12:25:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jmcosta

Hi all,

I use my gallery not only for pics but also for some tech documents (PDF) which are located in an album accessible only for a group of qualified users.

One of them has put in an open forum a link to one of these files so it can be downloaded by anyone through "right click, save as..."

Is there any way to prevent this? Not only for this particular file, but for not public albums in general.

TIA,

JM

Nibbler


jmcosta

Hi Nibbler,

Many thanks.
I use cPanel and already knew the Hotlink Protection feature.

The problem is that the open forum I mentioned is also running in my site, and I want to display images in the forum by linking to Coppermine, but also want to avoid the unathorised access to pdf files.

Kind of deadlock... ???

Regards,

JM

Nibbler

Limit the hotlink protection to .pdf files then.

jmcosta