HTTP Security Headers, Login Brute-Force Shield & Core Hardening
Enforce Grade A+ HTTP Security Headers (nosniff, X-Frame-Options, Referrer-Policy, Permissions-Policy, HSTS), stop brute-force bots with IP lockouts, and apply 1-click wp-content/uploads/ PHP execution hardening.
📋 On This Page (Jump to Section)
Modules 3, 4, and 5 of FBS Secure Optimize work together to harden your browser security posture, stop credential-stuffing bots before they exhaust PHP workers, and close the most common WordPress attack vectors.
1. Module 3: HTTP Security Headers (Grade A+ Posture) #
Navigate to FBS Optimize → Headers & Hardening. Every header is individually toggleable and engineered with standards-compliant defaults that never break external Google Fonts, payment gateways, or page builders:
| Security Header | Value Sent | Protection Provided |
|---|---|---|
| X-Content-Type-Options | nosniff |
Prevents browsers from MIME-sniffing disguised uploads into executable scripts. |
| X-Frame-Options | SAMEORIGIN |
Blocks external malicious domains from embedding your store inside invisible clickjacking <iframe> overlays. |
| Referrer-Policy | strict-origin-when-cross-origin |
Protects sensitive URL query parameters when visitors click external links while preserving analytics origin attribution. |
| Permissions-Policy | camera=(), microphone=(), geolocation=(), usb=() |
Restricts unauthorized third-party scripts from accessing sensitive browser hardware APIs. |
| Strict-Transport-Security (HSTS) | max-age=31536000; includeSubDomains |
(Optional — HTTPS sites only) Instructs browsers to enforce encrypted HTTPS connections and prevent SSL-stripping attacks. |
| Hide WP Version & Fingerprints | Removes <meta name="generator"> & ?ver= |
Strips WordPress version disclosure tags from HTML headers, RSS feeds, and asset URLs. |
2. Module 4: Unified Login Brute-Force Shield #
Automated botnets hammer login endpoints thousands of times per hour. The Unified Login Shield stops them at the door:
- Configurable Failed Attempt Threshold & Lockout Duration: Set the maximum allowed failed login attempts (e.g.,
5 attempts) and the automatic IP lockout window (e.g.,30 minutesor60 minutes). - Trusted IP Allowlist: Add your office, VPN, or developer IPv4/IPv6 addresses (comma- or line-separated) so your team can never be locked out.
- Username Enumeration Error Masking: Replaces WordPress’s default verbose login hints with a generic message so attackers cannot confirm which usernames exist.
- Live Failed Login Telemetry & 1-Click Reset: View recent failed login attempts (Attacking IP, Attempted Username, and UTC Timestamp) stored in
fbsseop_login_attemptsand clear active lockouts in one click.
3. Module 5: Core Hardening & 1-Click Uploads PHP Execution Shield #
- 1-Click
wp-content/uploads/PHP Execution Shield: Clicking Shield Uploads Directory writes hardened.htaccessrules that deny direct execution of PHP script files insideuploads/while keeping images, PDFs, and cached CSS 100% accessible. - Disable XML-RPC &
X-Pingback: Shuts downsystem.multicallbrute-force amplification and pingback DDoS vectors. - Block Author Archive (
?author=1) & Unauthenticated REST/wp/v2/usersHarvesting: Prevents bots from scraping administrator usernames via author ID redirects or public REST API user endpoints. - Lock Theme & Plugin File Editors: Disables arbitrary PHP file editing inside
wp-adminvia capability mapping (map_meta_cap). - High-Risk Plugin Detector: Automatically warns you if risky file-manager or database-admin plugins are left active in production, with a 1-Click Deactivate button.