I have a form on a web site that submits data using jQuery ajax in a JSON format to a sendmail.aspx page, that in an async manner sends an e-mail to corporate mailbox.
I don't want to use captcha. This will make it less comfortable for a user to submit a callback request to my company's service.
I am afraid that someone may use a script to submit a numerous requests to my mailbox via sendmail.aspx.
Which is the simplest way to control of how many sendmail.aspx OnLoads is allowed for one IP? Provide a code snippet or point to a code snippet please.
I have tried using the solution provided here:
http://madskristensen.net/post/Block-DoS-attacks-easily-in-ASPNET.aspx
but it just locks up my user within a second.