Published 21 days ago
Published 21 days ago
gregkoehler
Updated 21 days ago
0
Allow a custom message (or custom block page) to be selected per custom rule, so end users see a reason that matches why they were blocked.
Today the blocking page is global: every block, whether from attack detection, rate limiting, or a custom deny rule, shows the same page. When a custom rule blocks a request for a policy reason rather than an attack, the user has no idea what to do to regain access.
Example: I have a deny rule that blocks traffic from an IP Group of privacy VPN ranges. A legitimate user on a VPN sees the generic block page and assumes the site is broken, when all they need to do is disconnect their VPN.
When creating or editing a custom rule (deny / challenge), add an optional field:
"Access from privacy VPNs is not allowed. Please disconnect your VPN and try again."
Nice-to-have extensions:
Fewer support requests and less confusion for legitimate users, while keeping the generic page for actual attacks (so attackers don't learn which rule they triggered).
Windsley
Updated 20 days ago
0
Hello, and thank you for the feedback. The privacy-VPN scenario you described is a good example, and it highlights a gap in the current design that is easy to overlook. Let me explain how the product works today, and then share the direction we have in mind.
The blocking page is not a generic error page. The default 403 page clearly shows “Access Forbidden” and “Blocked for Attack Detected”, and bears SafeLine branding. Blocking pages are already split by scenario — Attack Detected (403), Rate Limiting (429), Auth Challenge (467), Anti-Bot Challenge (468), Application Offline (466), Waiting Room (465), Page Not Found (404), Bad Gateway (502), Gateway Timeout (504), and others — and each can be customized independently with its own Custom HTML, Tip message and Page Color under Settings → Blocking Pages. This generally helps visitors recognize a block as a security response rather than a site failure.
There is one limitation with this split, though: the 403 page currently serves two types of blocks. Both attack detection and all deny rules — including custom rules, built-in Threat Intelligence and cloud rules — return 403 and share the same “Attack Detected” page and Tip message. Because the block response only carries a status code, and the page is selected by that code, requests blocked by a deny rule also land on the attack page. A legitimate visitor using a VPN may therefore see “Blocked for Attack Detected”, which can be misleading.
If this direction looks viable, the approach we have in mind is to split the 403 page into two under Settings → Blocking Pages: “Attack Detected”, which would serve only attack detection, and “Deny Rule”, which would serve all deny rules. Each would have its own default copy and remain customizable, with Custom HTML, Tip message and Page Color still configurable. The attack page would keep generic wording so it does not reveal which rule was matched. The change would mainly be in the blocking path for deny rules.
One note: the implementation still needs to be confirmed with engineering, and the final design may differ from the description above. Thanks again for raising this — real-world scenarios like yours are exactly what we want to get right. If you have additional scenarios or requirements, please let us know.