DEV Community

Michael Buckbee
Michael Buckbee

Posted on

One simple trick to stop bots

What’s even more suspicious than detecting a bot user agent?

No user agent.

Vulnerability-scanning scripts will suppress passing the user agent to sneak past filters. Requiring a UA is an easy way to keep some malicious bots out of your system.

Image description

Top comments (0)