Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent DoS attack in ASP.NET MVC applications?

Tags:

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

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

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

like image 782
Edi Wang Avatar asked Aug 04 '12 03:08

Edi Wang


People also ask

How DoS attack can be prevented?

For this, it is essential to have multi-level protection strategies that use intrusion prevention and threat management systems. These systems can use anti-spam, content filtering, VPN, firewalls, load balancing, and security layers to spot and block attacks before they overwhelm your network.

What is the best defense against DoS attacks?

The most effective way to protect against the impact of DoS attacks is to stop them before they even reach a company's network. That means partnering with the contracted ISP to block the attack at the gateway.

Which two techniques are used to carry out DoS attacks?

There are two general methods of DoS attacks: flooding services or crashing services. Flood attacks occur when the system receives too much traffic for the server to buffer, causing them to slow down and eventually stop. Popular flood attacks include: Buffer overflow attacks – the most common DoS attack.


1 Answers

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.

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

like image 136
Garrett Fogerlie Avatar answered Oct 02 '22 10:10

Garrett Fogerlie