Support

Admin Tools

#34024 Ant-Spam Bad Words Q for forms

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Thursday, 10 December 2020 20:17 CST

sandstorm871

Hi Guys, 

Reading through docs for Anti-Spam Bad Words [https://www.akeeba.com/documentation/admin-tools/waf-bad-words.html] It's unclear how this works and where the bad words are blocked, as I was hoping this could be used to help us reduce spam within an enquiry form with certain words

I have added some bad words for testing with a contact enquiry form. However, the form is being submitted with the bad words.
Do you know if anti-spam bad words will work this way?

Testing with 3rd party component 'Breezing Forms'.

nicholas
Akeeba Staff
Manager

There are two parts to this feature.

On one hand you need to add Bad Words into the list. This, you already did.

By default the feature is disabled. This is the second part necessary: you need to activate it. Go to Components, Admin Tools, Web Application Firewall, Configure WAF and click the Request Filtering tab. Set "Anti-spam filtering based on Bad Words list" to Yes.

Now any request going through Joomla which has a GET or POST parameter that contains any of the bad words (case-insensitive) will trigger a blocked request.

For example, if you use the bad word foobar and your form contains the text "This is a FooBar test" will be blocked. Do note that this only applies to whole words. If someone enters "This is a FooBarBazBat test" they will NOT be blocked because it doesn't match the bad word.

This is NOT meant to be a complete anti-spam solution, just something to prevent the most blatant spam. For example, we used to receive a lot of contact forms with unsolicited offers for certain pharmaceutical products or Russian spam. Needless to say, these messages contained some very common words we would never expect in legitimate communication so it made perfect sense to implement this feature in Admin Tools.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

sandstorm871

Thanks for your response Nic.
I hope you're all well during lockdown v2.0  :)


Your absolutely correct, I had added some bad words and hadn't enabled within the WAF settings, I'll set that up and test further within my forms.

Thanks again,

Andy

nicholas
Akeeba Staff
Manager

You're welcome, Andy!

We barely noticed it's a new lockdown to be honest. We were already being responsible and had reduced our outings to the bare minimum, always with masks when going outside and so on. The only thing that really sucks is that we can't take our daughter outside for a walk.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!