limit_rate dynamically using $arg - security
shoshomiga
nginx-forum at nginx.us
Wed Apr 4 20:40:04 UTC 2012
I've been looking for a way to limit videos to their bitrate to save
bandwidth and I've come up with this code
if ($arg_LIMITSPEED) {
set $limit_rate $arg_LIMITSPEED;
}
It works but I would like to know if this code would be secure to use on
a production server.
I am not worried about users setting their LIMITSPEED high on their own
because I am limiting speeds at the network level as well.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,224950,224950#msg-224950
More information about the nginx
mailing list