Allow Google to bypass CAPTCHA validation - is it reasonable or not?

My website has a database search; Filling CAPTCHA gives you 5 minutes of search time. There is also special code to detect any automated scripts. I do this because I do not want anyone to mine data on my site.

The problem is that Google does not see the search results when crawling my site. If someone is looking for a string that appears as a result of a search, I would like them to find this page by Googling.

The obvious solution for me is to use a PHP variable $_SERVER['HTTP_USER_AGENT']to bypass CAPTCHA and a special security code for Google bots. My question is whether this is reasonable or not.

Users could then use Google’s cache to view search results without having to populate a CAPTCHA, but can Google use script discovery methods to prevent them from deleting data from these pages?

Or maybe there is some way to get people to $_SERVER['HTTP_USER_AGENT']appear like Google bypassing security measures?

Thanks in advance.

+3
source share
3 answers

Or maybe there is some way to get people to make $ _SERVER ['HTTP_USER_AGENT'] appear as Google, bypassing security measures?

. . . User Agent Switcher Firefox. - Google.

, . , , . , , , .

Google () IP-, . , IP - , , .

:, , Google Bot, IP-. - Google: Googlebot

-, DNS , . , DNS, , googlebot.com, DNS- > IP, googlebot.com; :

66.249.66.1 1.66.249.66.in-addr.arpa crawl-66-249-66-1.googlebot.com.

crawl-66-249-66-1.googlebot.com crawl-66-249-66-1.googlebot.com 66.249.66.1

, DNS , spoofer DNS, crawl-a-b-c-d.googlebot.com.

+4

$_SERVER['HTTP_USER_AGENT'] , , . , , , / , , Google.

+1

One solution is safe, to have a small Geo database sorted by ASN, block a bad ASN Bot (proxy, server, hosting provider as OVH) and allow a small Bot (Google, Bing, Yahoo), GSM Mobile ASN such as Orange , SFR Vodafone ... Just an idea :)

0
source

Source: https://habr.com/ru/post/1740754/


All Articles