标签: mysql http security
如果有人试图在我的网站上强行爆发攻击。我怎么能阻止他们的IP地址。
我的意思是,如果每秒获得许多http / Apache / SQL请求,我想阻止IP。我怎样才能防止那些强力爆发攻击
Linux服务器
提前谢谢
答案 0 :(得分:1)
在.htaccess中,您可以添加以下内容:
order allow,deny deny from <ip address> allow from all
或者根据您的操作系统,您可以在iptables中添加规则。
例如,here is how you would do it in ubuntu。