Mobile app version of vmapp.org
Login or Join
Fox8124981

: How to avoid leeching / hotlinking files? I use Kleeja script to host files and noticed that certain files are downloaded many more times than the site's visit counter indicates. So I assume

@Fox8124981

Posted in: #Hotlinking #Nginx

I use Kleeja script to host files and noticed that certain files are downloaded many more times than the site's visit counter indicates. So I assume that the files are being leeched. The web server is Nginx.
Just wondering how to block leeching.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Fox8124981

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

It is traditionally done by disallowing access or redirecting when the referrer is from another domain.

There are a number of ways to accomplish this, including using .htaccess files to redirect based on referrer. For nginx, NginxHttpRewriteModule

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme