Cloudflare Docs
Edit this page
Report an issue with this page
Log into the Cloudflare dashboard
Set theme to dark (⇧+D)

Static resource protection

Pro, Business, and Enterprise customers can use Cloudflare’s bot solutions to protect their static resources from bots.

​​ Super Bot Fight Mode

To enable this feature as a Pro or Business customer or an Enterprise customer without Bot Management:

  1. Go to Security > Bots.
  2. Select Configure Super Bot Fight Mode.
  3. For Static resource protection, select On.

​​ Bot Management for Enterprise

Static resources are protected by default when you create custom rules using cf.bot_management.score.

To exclude static resources, you would need to include not (cf.bot_management.static_resource) as part of your custom rule.

​​ Which files are protected?

Static resources are files with the following extensions: