Current location: Hot Scripts Forums » Programming Languages » Perl » Preventing email form abuse


Preventing email form abuse

Reply
  #1 (permalink)  
Old 07-03-03, 09:39 PM
LunarOrbit LunarOrbit is offline
New Member
 
Join Date: Jul 2003
Location: Hamilton, ON, Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Preventing email form abuse

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.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 07-04-03, 12:57 AM
Man Down Man Down is offline
HS Staff
 
Join Date: Jun 2003
Location: Maryland
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

I'm a begginer when it comes to perl but I could explain the logic on how you could do this so you could write your own code. Send me a PM and I'll help you out.

Regards,
__________________
Man Down
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 07-04-03, 09:29 AM
LunarOrbit LunarOrbit is offline
New Member
 
Join Date: Jul 2003
Location: Hamilton, ON, Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I'm lower than a beginner when it comes to writing scripts so I don't think I could do it myself.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 10-04-03, 10:55 PM
rob2132 rob2132 is offline
Newbie Coder
 
Join Date: Sep 2003
Location: USA
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by LunarOrbit
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.

Thanks.
Don't rely on cookies for any type of security, checking or control in regards to your script. As for limiting, it would be best to do this perl IP and limit one IP to only use the formmail script once per minute, and only say 15 tiems a day, if even that much. Yo ucan add an auto-block feature if they hit it too much, too often--or especially if they try and pass variables to it thinking they can exploit it to spam through (like the Matt Wright scripts allow).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email form in ASP.net andreasberglind ASP.NET 1 05-04-04 07:27 AM
SQL database registration form help vinhkhuong PHP 3 10-10-03 04:49 AM
send email when sending form (asp) bmatth1 Script Requests 0 09-30-03 06:52 AM
Free .ASP 'tell a friend' email form needed, preferably with multiple friend spaces retrocom Script Requests 0 08-23-03 01:44 PM
Error trapping x@x.xxx in form jonathen JavaScript 1 07-11-03 04:02 AM


All times are GMT -5. The time now is 07:12 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.