How to prevent rapid page request in php?
These d开发者_开发技巧ays i'm searching internet to secure my codes and my websites , and one point that I crossed and couldn't find a good and easy to learn solution was how to prevent rapid page request or in easy term DDOS ( not exactly that ) .
Its really likely to happen if some bot or hackers trying to DDOS a page , I want a way to stop it ,and user can only click and open a page every 2 seconds not requesting lots of queries in less than a second.
my websites' platform is php/mysql
is there anyway to do so ?
thanx
If you are running Apache, you should do this at the server level instead of the application (PHP) level.
Try asking for the proper module on serverfault.com.
精彩评论