Security and the firewall
What protects the platform, what the firewall blocks, and how to unblock an address.
On this page
The platform is protected in layers. The firewall is the outer one: it stops plain attacks before they reach the application and blocks an address that keeps trying.
What is always on
- Database: every query uses bound parameters, so text a visitor types is never run as SQL.
- Forms: each carries a one-time token against cross-site requests.
- Output: everything shown on a page is escaped.
- Passwords are hashed. Access tokens and payment keys are encrypted at rest.
- Sign-in: eight tries for an email address in 15 minutes.
- Framing: pages cannot be shown inside other websites, except a page a customer chooses to embed.
What the firewall adds
Open Admin, then Security.
| Rule | What it catches | What happens |
|---|---|---|
| Decoy addresses | Requests for files this platform does not have, such as wp-login.php, .env or phpMyAdmin | Blocked for a day, at the first request |
| Injection | Database or script code in the address | Refused; blocked after 3 in ten minutes |
| File path attacks | ../ and similar in the address | Refused; blocked after 3 |
| Scanning tools | Programs made for breaking in, by the name they send | Refused; blocked after 2 |
| No browser named | A page request with no user agent | Refused |
| Floods | More requests a minute from one address than the limit you set | Refused for that minute |
| Wrong passwords | 15 wrong passwords from one address in ten minutes | Blocked |
| Automated form posts | Public forms sent by a program: a hidden decoy field is filled, or the form is sent within two seconds | Not accepted; blocked after 6 |
Webhooks, the API and the chat widget are checked by signature or key instead and are exempt from the browser rules.
Settings
- Firewall on: the main switch.
- Decoy addresses and scanning tools: switch either rule off.
- Block for (minutes): how long an address stays blocked. Decoy hits are always a day.
- Most requests a minute from one address: the flood limit. The default is 600.
- Never block these addresses: your office and your monitoring service, one IP address per line.
Unblock an address
In Blocked addresses, click Unblock. Its earlier strikes are cleared too.
Block an address yourself
Type the address under Block an address yourself, choose how long, and click Block.
If you are locked out
Addresses on private networks and on the allow list are never blocked. From the server, you can clear every block:
php -r 'require "core/bootstrap.php"; Core\App::boot(); Core\DB::connect(Core\App::config("db")); Core\DB::run("DELETE FROM ip_bans"); Core\DB::run("DELETE FROM shield_log");'