I have a contact form that sends to my email and I recently got attacked by some sort of spam attack... I received like 76k emails overnight from the same IP address. It made me really mad. What can I do to fix this? I know I can implement captcha but I don't want that. :\
What else can I do to prevent multiple form submit?
You could try to stop this in a number of different ways:
- CAPTCHA (you already said you didn't like it but it's possibly the easiest solution)
- Answering some kind of question that it's easy for a person to answer but not a script
- Making sure the user is signed in before they can submit (assuming they have to be registered)
- Rate limit the form so that each IP address can only submit once every N period of time
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki