Protect a public CMS
Who connects: the public, reading pages that are meant to be open to everyone — plus a much smaller group of editors who sign in to the administration area. This is the profile of WordPress, Joomla, Drupal and TYPO3. The content must stay public; the login and admin must not be an open target.
The risk
The public pages are fine open. The trouble is everything around them: the login page hammered by brute force, user
names harvested from author pages and APIs, requests for files that should never be reachable (.env,
backups, xmlrpc.php), and generic SQL-injection and cross-site-scripting probes. The aim is to keep the
site open to readers while closing the admin to strangers and hiding what the application should never expose.
The recipe
In the service card in Routing:
- Turn on the application profile. In AppSec → Application pick your CMS (WordPress, Joomla, Drupal, TYPO3). Neti then hides the files and internal folders that application should never expose — answered with a 404 by Neti, nothing to install on the backend (application profile).
- Gate the admin paths only. In the service's Gate choose Only chosen paths and use the ready model for your CMS, so the public pages stay open while the login and admin go behind Neti's sign-in (chosen paths). Add a gate user per editor and an authenticator app.
- Inspect with the right model. With a subscription, turn on Application protection and select the CRS model for your CMS (OWASP CRS). Start in Detect for a few days, check it is not flagging normal editing, then switch to Block (Pro).
- Slow down the login. Leave the burst bans on, which include the login-specific jails (Security).
- Optional — limit by country. If the audience is regional, assign a filtering profile that favours your region (country filter); keep it loose for a site meant to be read worldwide.
Worked example: WordPress
WordPress is the archetype. Turn on the WordPress application profile: xmlrpc.php is
left only to Jetpack, author-name enumeration is refused, and sensitive files are closed. Gate Only chosen paths
with the WordPress model, so /wp-admin and wp-login.php sit behind Neti's sign-in while posts
and pages stay public; add a user per editor with two-factor. Turn on the wordpress CRS model in
Detect, watch Live analysis for a few days — the media library and the block editor are
the usual sources of false positives — then switch to Block. The login brute force is caught by the burst jails
without any extra setting.
Check it
- A public page opens normally for anyone;
/wp-admin(or your CMS's admin path) asks for Neti's sign-in first. - Requesting
/.envorxmlrpc.phpreturns a 404 from Neti — in Live analysis these are counted as stopped by the app protection. - With the CRS model in Detect, the AppSec page lists what it would block; nothing from normal editing should be there before you switch to Block.
Maintenance and false positives
- A legitimate request flagged by the CRS model? Add a CRS exclusion for that field or path rather than turning the model off.
- An editor locked out by the burst jail? Unblock the address (how to unblock yourself).
- A plugin needs a path open that the application profile hides? Use a gate exception for that exact path.