LunarOrbit
07-03-03, 09:39 PM
Hi, everyone.
I'm trying to find a way to prevent people from abusing my email form, especially preventing them from flooding my inbox by clicking the send button 5000 times.
Is there a way to add a "1 email per minute" restriction to a formmail script so that the delay might discourage them from flooding my inbox? I know some message board programs have some form of flood control built into them.
I was thinking of using a cookie on the user's computer to record the time they last sent me an email, but if they have cookies disabled in their browser that won't work.
I also tried disabling the back button so that they couldn't return to the email form after they sent one, but I couldn't get that to work.
Does anyone have a fool-proof way to prevent the kind of email attack I'm worried about?
I'm using the NMS FormMail clone (http://nms-cgi.sourceforge.net/).
Thanks.
I'm trying to find a way to prevent people from abusing my email form, especially preventing them from flooding my inbox by clicking the send button 5000 times.
Is there a way to add a "1 email per minute" restriction to a formmail script so that the delay might discourage them from flooding my inbox? I know some message board programs have some form of flood control built into them.
I was thinking of using a cookie on the user's computer to record the time they last sent me an email, but if they have cookies disabled in their browser that won't work.
I also tried disabling the back button so that they couldn't return to the email form after they sent one, but I couldn't get that to work.
Does anyone have a fool-proof way to prevent the kind of email attack I'm worried about?
I'm using the NMS FormMail clone (http://nms-cgi.sourceforge.net/).
Thanks.