Answer the question
In order to leave comments, you need to log in
How to identify a fake user-agent and should they be blocked?
Hello
Who is visiting the site? — Humans and bots. People use browsers, bots - XZ than, probably, everything that is possible. I would like to get the experience and recommendations of knowledgeable people on this issue.
By and large, the true users of the site are people and search engines, everything else is superfluous, well, maybe a few more useful services, correct me if I'm wrong.
Over time, I think more and more about blocking unwanted bots, sending them a little bit from different sides to hell. Now I'm thinking about blocking software with fictitious user-agents, at least some part of this action will be cut off. And with that, I have some questions for you:
Answer the question
In order to leave comments, you need to log in
You are following in the footsteps of Don Quixote. This is a war on windmills, which will strain only a part of the innocent users. The bots will quietly laugh watching this.
And what does the script have to do with it, just a list of them is needed. The script - there search simple. But what is the probability that everything is taken into account in the list and it is fresh?
Takes a list, iterates, compares with your string. Read about loops and conditional statements.
Yes, no, of course not. Browser developers, before rolling out their code, will definitely call you in advance. And Google developers sit and think:
- Let's not change the name of the search bot, suddenly weranda will block it.
- Exactly, you need to call to warn
- And in general, find all similar lists on the Internet and add more
- Great idea, we just have nothing to do
no. I do not see a single plus and a bunch of minuses.
is it worth it?
blocking software with fictitious user-agents
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question