如何防止ASP.NET MVC应用程序中的DoS攻击? [英] How to prevent DoS attack in ASP.NET MVC applications?

查看:105
本文介绍了如何防止ASP.NET MVC应用程序中的DoS攻击?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不希望有人保留F5我的网站或使用某些工具频繁请求该页面.

I don't want someone keep F5 my site or using some tool to request the page frequently.

也就是说,阻止一个客户端频繁调用Action或Controller.

That is to say, prevent an Action or the Controller to be invoked frequently by one client.

我该如何实施?我可以使用任何包装吗?就像AntiXSS库一样.

How can I implement this? Is there any package I can use? just like AntiXSS library.

推荐答案

大多数这些功能都将在IIS管理器中找到.诸如动态IP限制之类的方法应该会有所帮助.阅读 Microsoft防止DoS/拒绝服务攻击的最佳实践,其中提供了一个很好的列表.要做的事情.

Most of these features are going to be found in the IIS manager. Something like Dynamic IP Restrictions should help. Read through Microsoft's Best Practices for Preventing DoS/Denial of Service Attacks, this provides a good list of thing to do.

还根据此视频 Cloud Flare 能够通过其免费服务来阻止这些攻击.

Also according to this video, Cloud Flare is able to prevent these attacks with their free service.

这篇关于如何防止ASP.NET MVC应用程序中的DoS攻击?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆