search engine - Blocking user agents in nginx -


i have learned way of blocking bots in nginx having if statement in configuration file disallows access relevant user agents, i.e.,

within server context, typing like:

if ($http_user_agent ~* somebotuseragentstring) {     return 403 } 

my question happens when (maliscious?) bot tries hide identity using user agent string seems regular browser user agent string, e.g.

mozilla/5.0 (x11; linux x86_64) applewebkit/537.36 (khtml, gecko) chrome/58.0.3029.81 safari/537.36 

is realistic scenario?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -