cPanel / PDF Hotlink protection

231 views
asked Jul 20, 2013 in Security by DinoGuy (2,130 points)
Hi all
The hotlink protection in my  cPanel is working normal for files such as GIF,JPG and PNG and it hide s the direct access to the image files. The problem is in the PDF file. It’s not working. How can I enable the hotlink protection for my PDF files?
Does anyone have any ideas?
Appreciate any advice
Thanks

2 Answers

0 like 0 dislike
answered Jul 20, 2013 by TopNet (10,360 points)
Try to  enforce the referrer checking with a custom mod_rewrite rules. Add the extension  'PDF'  to the following  ex http://www.mediacollege.com/internet/server/apache/mod-rewrite/hotlinking.html
0 like 0 dislike
answered Jul 20, 2013 by SmartHost (9,060 points)
Hotlink protection in cPanel can block direct access in browsers to .pdf files. So you can force your user to login to your system. However if you use a software such as IDM, it can extract the file if  you know the file URL without having to login to the system.
...