Page 1 of 1

Best way to hotlink protect assets?

Posted: Wed Jul 07, 2021 9:08 am
by infiinite
Hi,

I'd like to know what is the best and most efficient way to hotlink protect my assets (images and videos).
and how can I redirect the hotlinks to another image if the domain is not whitelisted?

I checked and adding Nginx valid referrer could work but I don't know how to use it to display some other image for non-valid referrers.

Thanks.