I
I
Ivan Polikarpov2013-11-15 10:24:24
System administration
Ivan Polikarpov, 2013-11-15 10:24:24

How to properly block spam bot access to the site?

There is an online store. Spam orders are pouring in every day through the quick order form. Based on the logs, I calculated at least two IP addresses from which these orders are sent by POST request.
How to properly block them? Some directive in .htaccess? What other ways to deal with such bots are there? I don't want to put a captcha.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
assous, 2013-11-15
@taboo1387

order allow,deny
deny from ip1
deny from ip2
allow from all

this is a bad solution, better use captcha

T
tmin10, 2013-11-15
@tmin10

Do not use captchas, they are standard and get by with bots once or twice, use a question on the subject of the site, from personal experience this cut off all automatic bots.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question