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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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