Link to home
Start Free TrialLog in
Avatar of axel486
axel486

asked on

Direct linking

Hi,
Is there a way of preventing unauthorised downloading of direct links to my site's files?For example a link to a zip file in my site is posted in a forum.When the guy left clicks the link,it goes to an error page cause i used htaccess but when he right clicks and saves the files, he is able to continue downloading.Can i prevent that?

Avatar of samri
samri
Flag of Malaysia image

Yes and no?

What is the OS and web server platform?
Avatar of axel486
axel486

ASKER

PERL version 5.006001
Apache version 1.3.26 (Unix)
Os:Linux
ASKER CERTIFIED SOLUTION
Avatar of samri
samri
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Another.

There is a PAQ which is very long (and detail).  Please take a time and see if it fits.

https://www.experts-exchange.com/questions/10777441/Hopefully-it-is-a-perl-question.html
Axel,

Another PAQ - this one is proposed by me.

https://www.experts-exchange.com/questions/20255627/Prevent-other-sites-from-displaying-my-images.html

So pick the best approach that you're most comfortable.

However please be advised that any http header cound be faked, the the approach might fail.  Anyhow, for most scenario, it should work.

cheers.
Axel,

Still deciding on which is the best, OR none worked.

awaiting response.