Spam Filtering?

Issues related to forms.
Post Reply
User avatar
SteveMann
 
 
Posts: 69
Joined: Tue Jun 17, 2008 4:54 am

Spam Filtering?

Post by SteveMann »

It has been a few years since I did anything with php programming, and if not for the Wizards in WWB, I wouldn't even attempt forms.
But, of course, the contact form is a spam magnet.

I couldn't get the included Captcha tool to work, but just retyping a few letters is the weakest Captcha of all, so I didn't spend much time with it.

What I have noticed in the few days of watching the spam traffic, I've noticed that the messages almost always contain words like "viagra", Prednisone", "pills", "online pharmacy". Words that my client would never expect from a legitimate contact. Also, the IP addresses are repeating.

Would it be possible in the PHP form handler to look at the IP address, subject and message text to decide if the contact is spam or possibly legitimate?
User avatar
Pablo
 
Posts: 21715
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Spam Filtering?

Post by Pablo »

There is no standard solution for this, this will require a custom script.

Note that the built-in CAPTCHA has many improvements. I personally have good experiences with recatpcha v3.
https://www.wysiwygwebbuilder.com/forum ... 30#p447360
User avatar
SteveMann
 
 
Posts: 69
Joined: Tue Jun 17, 2008 4:54 am

Re: Spam Filtering?

Post by SteveMann »

Thanks for the link. I'll give the internal CAPTCHA another look.
Maybe a suggestion for a future version- IP and content filters before sending a form content by email?
User avatar
BaconFries
 
 
Posts: 5369
Joined: Thu Aug 16, 2007 7:32 pm

Re: Spam Filtering?

Post by BaconFries »

Regarding IP filtering this is already possible with the use of a .htacess file on your server. Within the .htacess will berange of IP's written. There is one issue with this if one of the IP's in the range may be coming from a legit user and they will be blocked. This can be fixed within the .htacess by using allow rather than deny. With all this said it is a feature of your host / server so you would need to contact them by for assistance also note your host /server needs to use Apache for it to work.
User avatar
SteveMann
 
 
Posts: 69
Joined: Tue Jun 17, 2008 4:54 am

Re: Spam Filtering?

Post by SteveMann »

Thanks, I thought of the .htaccess method, but I would worry, as you said, that the IP could change in the future...
Post Reply