Welcome! Log In Create A New Profile

Advanced

HttpSecureLink limit by IP

Posted by forumwt 
HttpSecureLink limit by IP
July 03, 2013 07:46PM
Any chance to protect file(link) by users IP address...

My nginx.conf
location ~ \.flv$ {

secure_link $arg_st,$arg_e;
secure_link_md5 segredo$uri$arg_e;
if ($secure_link = "") {
return 403;
}
if ($secure_link = "0") {
return 403;
}

root /media;
flv;
}


Im try to add secure_link $arg_st,$arg_e,$arg_ip;

and than send &ip=127.0.0.1
but not working in this way
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
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