4.11 Exclude Directories from Protection
Last updated
Last updated
The Exclude Directory from Protection module allows you to bypass all active ShieldsGuard security mechanisms (WAF, rate limiting, filtering, etc.) for a specific directory path.
This is useful for public, static, or third-party resources that may not function properly under strict protection.
You define:
Directory Path (e.g., /uploads
, /public/images
, https://yourdomain.com/assets/
)
Once added, all requests to that path and its subpaths are excluded from protection and forwarded directly to your origin server.
Navigate to Security Rules > Exclude Directory
Click Specify Directory to Exclude from Protection
Enter the full path of the directory
Click Exclude from Protection
All traffic to that directory will now bypass ShieldsGuard security logic
Static file directories (JS, CSS, fonts, images)
File upload areas with large payloads
Public folders for client download access
No security filtering will apply to excluded directories
Use only for safe, public, and static content
Avoid excluding sensitive areas such as /admin
, /api
, or dynamic logic handlers
🎯 This feature is designed for performance and compatibility — only use it where security impact is minimal.