Static resource protection
Pro, Business, and Enterprise customers can use Cloudflare's bot solutions to protect their static resources from bots.
To enable this feature as a Pro or Business customer or an Enterprise customer without Bot Management:
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
 - Go to Security > Bots.
 - Select Configure Super Bot Fight Mode.
 - For Static resource protection, select On.
 
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
 - Go to Security > Settings.
 - Filter by Bot traffic.
 - Go to Super Bot Fight Mode.
 - Under Configurations, select the edit icon for Static resource protection and turn it on.
 
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.
Static resources are files with the following extensions:
ico|jpg|png|jpeg|gif|css|js|tif|tiff|bmp|pict|webp|svg|svgz|class|jar|txt|csv|doc|docx|xls|xlsx|pdf|ps|pls|ppt|pptx|ttf|otf|woff|woff2|eot|eps|ejs|swf|torrent|midi|mid|m3u8|m4a|mp3|ogg|ts
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Products
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- © 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark