Spectivis Cloud
Firewall, redirects and traffic
Block or allow visitors, add a password, set redirects, clear the cache and read the traffic for an environment.
Every environment has its own firewall. It decides who can reach the environment before a request gets to your app. A change applies within a few seconds and needs no deploy. Every member of the organization can change it, and the Firewall page lists who changed what.
What you can set
Section titled “What you can set”| Setting | What it does |
|---|---|
| IP rules | Block an address or a range such as 203.0.113.0/24, or always allow one. Up to 10 per environment. |
| Allowed addresses only | Only addresses with an Allow rule get in. Everyone else sees “Access denied”. |
| Countries | Block some countries, or allow only the ones you pick. |
| Block AI crawlers | Refuses crawlers that collect pages for AI models, such as GPTBot, ClaudeBot and CCBot. Search engines are not affected. |
| Password | One username and password for the whole environment. Useful for staging. |
| Custom rules | Block, allow, redirect, count or rate limit requests by path, method, address, country, user agent or header. Up to 10 per environment, with up to 5 conditions each. |
An address with an Allow rule skips every other check, including the password.
A blocked visitor sees a plain “Access denied” page. It does not say which rule matched. A blocked request does not wake a sleeping environment.
Need more than 10 rules? Open a support ticket and we raise the limit.
Custom rules
Section titled “Custom rules”Rules are checked from top to bottom. The first one that blocks, allows or redirects a request ends the check. A “Count only” rule lets the request through and shows it on the Traffic page, which is a safe way to try a rule before you switch it to Block.
Regular expressions use the RE2 syntax. Lookaheads and backreferences are not available.
Rate limits
Section titled “Rate limits”A rate limit counts matching requests per visitor address. When an address sends more than the limit in the time you set, it is blocked on the whole environment for the time you choose, and gets “Too many requests”.
- The limit takes effect a second or two after it is passed, so a short burst can go slightly over.
- The Firewall page lists the addresses blocked right now. You can release one or all of them.
Password
Section titled “Password”Visitors enter the username and password in the browser’s own sign-in box. Webhooks, health checks and API clients that call the environment need the same login, or an Allow rule for their address.
We store the password hashed. It cannot be shown again, only replaced.
Files Cloudflare has already copied
Section titled “Files Cloudflare has already copied”Cloudflare keeps copies of static files such as images, CSS and JavaScript and answers those requests itself.
- With a password or “Allowed addresses only” switched on, Cloudflare stops keeping copies and the existing ones are cleared.
- With IP rules, country rules and custom rules, a blocked visitor can still fetch a static file Cloudflare already holds. Pages and API answers from your app are not copied and stay blocked. If that matters for your files, use a password or “Allowed addresses only”.
Redirects
Section titled “Redirects”Domains, then Redirects. A redirect sends a path somewhere else before the request reaches your app.
- From
/oldto/new, or to a full address such ashttps://example.com/page. - End the path with
*to match everything under it:/blog/*. You can add the rest of the path and the query string to the destination. - Pick 301 or 308 for a permanent move, 302 or 307 for a temporary one. 307 and 308 keep the request method.
- Up to 10 per environment. A redirect can apply to all hostnames or to one.
Clear cache
Section titled “Clear cache”Domains, then Clear cache. It removes Cloudflare’s copies of your static files so visitors get fresh ones. It runs on its own after every deploy, so you rarely need it. You can use it once a minute.
Traffic
Section titled “Traffic”The Traffic page shows requests the firewall let through, blocked and rate limited, for the last hour up to 30 days, and the busiest countries, paths, clients and addresses. It also lists the newest blocked requests.
Visitor addresses are kept for 7 days. Everything else is kept for 90 days.