Questions tagged [hotlinking]

Hotlinking is practice of displaying digital assets (such as: image, video, sound or other files) into a website by linking it from another site.

Hotlinking is considered poor netiquette because this practices will consume another site's resources for your own benefit. That's why popular web server has a features to prevent hotlinking, for example:

48 questions
0
votes
1 answer

Hotlinking protection in nginx made my domain images disappear

After adding the hotlinking protection code to the server block, none of the images now loads. Here is the complete server block code of the web server in question: server { listen 443 ssl; server_name mydomain.com www.mydomain.com…
-1
votes
1 answer

how to protect from hotlink in nginx

I need to protect from hotlinks in my php site.? how Can i achieve this ?? Iam using nginx as webserver .. If I try to view site.com/uploads/image.jpg without login I can able to see images in browser ,I need to prevent direct folder accessing…
vijoy
  • 1
  • 2
-3
votes
1 answer

How to change .htaccess file to work right in localhost?

I have this snippet code in my .htaccess file to prevent users from hotlinking the server's images: RewriteEngine On RewriteCond %{HTTP_REFERER} ^$ [OR] RewriteCond %{HTTP_REFERER} !^http://(www.)?itransformer.es/.*$ [NC] RewriteRule…
Manolo
  • 552
  • 2
  • 8
  • 23
1 2 3
4