How to protect against image hotlinking in Nginx
Posted on: 01/20/2014 12:02 PM

LinuxBSDos.com shows you how to protect against image hotlinking in Nginx

How to protect against image hotlinking in Nginx


This short tutorial shows how I configured Nginx to protect against hotlinking of images used in my articles. Protecting against image hotlinking in Nginx is pretty simple, if you know what to do, or know how to google.

So if you don’t like my approach, go ahead and google “image hotlink protection in nginx” or something close to that.

In simple terms, hotlinking is stealing. That’s what it is. And the perpetrator is a thief. In slightly more technical terms, hotlinking is directly linking to images (usually) that reside on a website’s server, on your own. The recommended practice is to copy an image you are interested in and save it on your own server, then use it in your articles. I do it all the time, but some website owners are too lazy to bother.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/how_to_protect_against_image_hotlinking_in_nginx.html)