Restrict IP's by code in Asp.net MVC

笑着哭i 提交于 2019-12-11 03:54:46

问题


My server is under attack a DDoS attack so I want to restrict IP's. I know how to detect DDoS in ASP.NET MVC (in ApplicationBeginRequest method), but is there also a way (in ASP.NET) to apply restriction on NIC, Windows Firewall or IIS?

Any ideas?

If I can restrict ip's on NIC level by code I will be a very happy person :)

来源:https://stackoverflow.com/questions/14443138/restrict-ips-by-code-in-asp-net-mvc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!