Welcome! Log In Create A New Profile

Advanced

Image hotlink prevention

Posted by honeylemon 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Image hotlink prevention
February 22, 2010 07:13AM
Hello,

I'm curious what you folks use for image hotlink prevention?

I found this code but it's not working for me:

location ~ \.(jpg|png|gif)$ {
valid_referers server_names blocked none frienddomain.com *.frienddomain.com ;
if ($invalid_referer) {
return 403;
}
}

Any ideas what works?

Thanks

Online Users

Guests: 259
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready