Good day! Such a question - if, instead of captcha, I check the user-agent field of the server array, will this be sufficient protection against bots?

  • of course not. - zb '
  • Definitely not, if someone asks to get data from your site or, for example, to send some information there, he will even compare js-s and compare pictures, select methods that he can send or receive information from. Another thing is if your site is quite useless, then no one will engage in such nonsense. In my opinion so far nothing better than the captcha reCaptcha has come up with more precisely. - binliz

1 answer 1

Not. If someone asks to write a bot for your site, he will be able to compare headers sent by the bot and browser, understand that if there is a user agent, the request passes and insert it into the request header from the bot.