Welcome! Log In Create A New Profile

Advanced

[ASK] Restrict direct link file access

antituhan
August 13, 2010 01:54PM
Hi,

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.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

[ASK] Restrict direct link file access

antituhan August 13, 2010 01:54PM

Re: [ASK] Restrict direct link file access

edogawaconan August 13, 2010 07:06PM

Re: [ASK] Restrict direct link file access

antituhan August 16, 2010 01:12AM

Re: [ASK] Restrict direct link file access

Cliff Wells August 16, 2010 06:38AM

Re: [ASK] Restrict direct link file access

antituhan August 16, 2010 01:32PM

Re: [ASK] Restrict direct link file access

Cliff Wells August 16, 2010 05:56PM

Re: [ASK] Restrict direct link file access

antituhan August 17, 2010 08:42PM

Re: [ASK] Restrict direct link file access

Cliff Wells August 17, 2010 09:58PM

Re: [ASK] Restrict direct link file access

Igor Sysoev August 18, 2010 03:00AM

Re: [ASK] Restrict direct link file access

antituhan August 18, 2010 11:58PM

Re: [ASK] Restrict direct link file access

antituhan August 16, 2010 01:38PM

Re: [ASK] Restrict direct link file access

Ensiferous August 16, 2010 06:01PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready