← Exponential Request Shield

// Exponential Request Shield

Rules reference

One rule per line in a plain text file, with examples that prove each rule before it goes live.

Exponential 6 Open source · GPL v2 or later

What you can configure

  • Answer only your own host names, and refuse admin modules behind every URI siteaccess: host, replace [EXP-MODULES].
  • Make the search, downloads and PDFs cost a bot more than a person: a budget per area with limit ... at and match, or challenge.
  • Check the login more often and limit registrations: replace [EXP-LOGIN], limit registrations.
  • Take forms of your own extensions, a REST API with PUT, PATCH and DELETE, or webhooks: allow, method, post-origin except, challenge-exempt.
  • Open the administration only to the office or the VPN: restrict /admin/** to ..., exempt.
  • Let monitors, partners and your own scripts through: exempt ... until, expRequestShield::selfHeader().
  • Run behind Cloudflare, a load balancer, nginx or LiteSpeed: trust, set secret, set store file.
  • Watch a rule before it refuses anybody: set mode monitor, monitor <rule>.
  • Ban scanners, keep addresses out, welcome or block crawlers: ban, deny, feed, crawlers.
  • Show your own texts and error pages: set text.<lang>.<key>, set error-page.
  • Prove every rule before it is live: expect lines, bin/request-shield test, trace, replay.

A short example

In settings/request-shield/request-shield.rules:

ids SITE
include     exponential-admin-uri.rules
set         mode enforce
host        www.example.org example.org

match /content/download/** {
  [SITE-DOWNLOADS] limit downloads 30/min on-exceeded challenge
  expect GET /content/download/12/34/file/report.zip  times 30   answered
  expect GET /content/download/12/34/file/report.zip  times 31   check
}

[SITE-HOOK-POST]    allow POST /webhook/**
[SITE-HOOK-ORIGIN]  post-origin except /webhook/**
[SITE-HOOK-NOCHECK] challenge-exempt /webhook/**
expect POST /webhook/payments                               answered

Downloads get 30 a minute per visitor, then the browser check; a payment provider may post to /webhook/ from its own servers. The expect lines are tests: bin/request-shield test decides each one, so the file cannot promise what the rules do not do.

The full reference

  • Reference: every setting, every rule line and set key with its default, the order of the checks, every shipped rule by ID.
  • Cookbook: recipes to copy for the search, downloads, login, forms, REST API, admin, webhooks, Cloudflare, nginx, LiteSpeed and shared hosting.
  • Configuration reference and Troubleshooting in the Exponential documentation.

// why Exponential

Ready for production on day one. Secure by default.

Other systems make you program before you see a result. Exponential is a finished platform the moment the installation ends.

01

Installed = shippable

Content model, roles, versions, workflows, search and caching are there when the installer finishes. No plugins to pick, no code to write first.

02

Request shield built in*

A web application firewall decides every request before the site runs. WordPress's own hardening guide sends you to plugins or a separate firewall.

03

No kernel gluing

Frameworks hand you components to assemble into a CMS. In Exponential that work is done, tested and maintained for you.

Stop reinventing the wheel. Drive the roadster: the price of an entry-level car, built like a tank for production.*

*No system is immune to every attack; Exponential ships the request shield and secure defaults so most common attacks are blocked before they reach your site, and 7x keeps it patched.

// more about Request Shield

Keep exploring.

Exponential Request Shield →

Features

Everything Request Shield does for an Exponential site out of the box, and every rule that does it.

Read more →

How it works

Request Shield runs before Exponential starts, decides each request in microseconds, and fails safe when anything goes wrong.

Read more →

Install

Five steps with Composer: require the package, activate the extension, add one line to config.php, give the site its own rules, and read…

Read more →

Download and releases

The latest release is 0.0.1.9, from November 28, 2026. Get it with Composer or from GitHub.

Read more →

Keep the junk away from your site.

Install Request Shield yourself in a few minutes, or let 7x install, tune and watch it for you on 7x hosting.