Welcome! Log In Create A New Profile

Advanced

Block specific request pattern !!

October 06, 2017 10:18AM
Hi,

We're serving mp4 files over NGINX with added security hash+ttl but there's
some kind of leechers accessing videos with following pattern but not
getting blocked:

https://domain.com/files/videos/2017/10/04/15071356364fc6b-720.mp4?h=n_Saa78MV6BJTcoRHwHelA&ttl=1507303734&
?*/WhileYouWereSleeping56.mp4*

============================================================

As you can see the highlighted part of request is abnormal, there should be
nothing included after ttl value, requests are supposed to be served with
following pattern :

https://domain.com/files/videos/2017/10/04/15071356364fc6b-720.mp4?h=n_Saa78MV6BJTcoRHwHelA&ttl=1507303734&
?


Is there a way we can block the requests not ending up on ttl value ?

Thanks.
Shahzaib
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Block specific request pattern !!

shahzaib1232 October 06, 2017 10:18AM

Re: Block specific request pattern !!

Francis Daly October 06, 2017 03:20PM

Re: Block specific request pattern !!

shahzaib1232 October 07, 2017 07:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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