Why you might need this
User Agents are the self-reported names that HTTP client software reports itself as - as such they’re easily changed. While that is undisputably the case, in practice many bots and malicious scripts still report as the command line tools or HTTP libraries that they’re using to generate requests.
As an example, many vulnerability probe or scanning software will report as one of the Curl User Agents
This fact makes blocking user agent blocking a useful (if often underestimated) feature.
What you need to get started:
- Expedited WAF add-on is setup in front of your application.
How To Block User Agents on Heroku
Add individual user agents to be blocked to the Block Bots page of your Expedited WAF dashboard:
- By default Expedited WAF blocks user agents which don’t match real browsers (missing or malformed agents)
Learn more about User Agents.
Need this for your Heroku App?
Find out how Expedited WAF can immediately improve your security posture, reliability and site speed. Book a time to get started or jump in on the Heroku Elements Marketplace.