Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Protect against a DoS attack without a CAPTCHA

I'd love to know a good way to protect against DoS attacks on my email and contact forms.

I have a "Share with a Friend" function which opens up a form I've created, but I'd rather not put in a CAPTCHA.

I've seen a jQuery + PHP solution here: http://docs.jquery.com/Tutorials:Safer_Contact_Forms_Without_CAPTCHAs#PHP_File

It looks like a good solution, I'd just like some help translating the PHP into C#. I'm guessing an ASHX file would be best to use.

If there are also other (better?) solutions I'd love to hear them.

like image 986
Armstrongest Avatar asked Dec 05 '25 08:12

Armstrongest


1 Answers

For the record, a captcha won't help against a DOS attack. The attacking pc's would just be calling your site repeatedly, rendering it unresponsive, without caring about what you return as response (with or without captcha). A capctha will help you against other kind of attacks such as bots and automatic subscriptions.

In case you are using a hosting provider, they should normally protect you form DOS attacks.

like image 90
santiagoIT Avatar answered Dec 07 '25 21:12

santiagoIT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!