[ASK] Restrict direct link file access

antituhan dewanggaba at gmail.com
Fri Aug 13 00:44:42 MSD 2010


Could nginx restrict direct link access / hotlink access to specified
file/extension ?

I try to write the rules like this :

 location ~ ^/*(\.exe)$ {
        deny   ip.ad.dr.es;

But nothing happen, the files still can be downloaded by denied ip address.

Somebody help me please :)
View this message in context: http://nginx.2469901.n2.nabble.com/ASK-Restrict-direct-link-file-access-tp5417795p5417795.html
Sent from the nginx mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100812/21e1f73e/attachment.html>

More information about the nginx mailing list