Protect Your WordPress Site With a Free Firewall, Login Defence and Scanner
WPCodeForge Security brings practical, everyday protection into one tidy dashboard. Filter suspicious requests, stop repeated login attempts, check for risky code and keep a clear record of what’s happening, all from inside WordPress and with no coding required.
Everyday WordPress security, made simple
Every tool is controlled from inside WordPress, with plain-English notes beside each option explaining what it does and what to test.
Request firewall
Filters common SQL injection, XSS and path-traversal patterns, blocks sensitive file paths, and supports custom path fragments, IPv4/IPv6 and CIDR blocking, plus optional rate limiting.
Login protection
Choose how many failed sign-ins are allowed and how long a lockout lasts. Optional administrator alerts keep you informed.
Read-only scanner
Checks selected PHP indicators and a sample of published content for risky code. It never changes or deletes your files.
Integrity checks
Compares WordPress core files with the official checksums and builds a SHA-256 baseline for plugin and theme PHP files.
Hardening options
Hide the generator tag, disable XML-RPC pingbacks, restrict public REST user lists, turn off the file editor and add browser security headers.
Comment anti-spam
A hidden honeypot field, a minimum submission time and a link limit help reduce automated comment spam.
Activity & traffic
A tidy activity log with CSV export, plus optional privacy-conscious traffic summaries that leave out query strings and full IP addresses.
Health & backups
Run health checks, view update indicators, export your settings and download an on-demand SQL database export.
See every screen inside the plugin
Pick a tab to see what each area does. Click any screenshot to open it full size, then zoom and move around.
Security Dashboard
A clear overview of your protection status, recent events and the next useful checks.
- See firewall and login protection status at a glance
- Review recent events and your last scan
- Follow simple recommended next steps
- Switch on the firewall, login protection and comment honeypot in one place
Security Scanner
A bounded, read-only check for risky configuration and suspicious PHP indicators.
- Set the maximum number of files inspected per scan
- Include .phtml, .php5 and .inc files if you need to
- Check up to 100 recent published posts for suspicious markup
- Compare WordPress core files with the official checksums
Findings are for you to review. A clean result is encouraging but doesn’t prove a site is secure.
Firewall
Baseline filtering for suspicious requests and sensitive paths.
- Filter common SQL injection, XSS and traversal patterns
- Block common repository, configuration and diagnostic paths
- Add IP addresses, CIDR ranges and custom path fragments
- Optionally rate-limit front-end requests (off by default)
After enabling filtering, give your forms, APIs and integrations a quick test.
Login Security
Control repeated failed sign-ins and review authentication events.
- Choose how many failed attempts trigger a lockout
- Set a lockout length that expires automatically
- Show generic login errors that reveal less to attackers
- Turn on optional administrator alerts after a lockout
Bad Bots & Honeypot
Reduce automated comment spam with a simple hidden-field honeypot.
- A hidden honeypot field on the standard comment form
- A minimum number of seconds before a comment can be sent
- A maximum number of links allowed per comment
Custom themes and third-party comment systems may not support these fields, so test your form first.
Threat Intelligence & Updates
Review update indicators using the update information WordPress already holds (it isn’t a live vulnerability feed).
- See your WordPress version and core update status
- Spot plugins and themes with updates waiting
- Enable official core integrity checks
- Optionally run the core check daily
Activity Log
A bounded record of selected security events.
- Record logins, firewall blocks, scans and settings changes
- Choose how many events to keep
- Download the log as a safe CSV file
- Clear the log whenever you like
Live Traffic
A limited, rolling sample of recent front-end request summaries.
- Stores the request path, method and broad context only
- No full IP addresses, cookies, request bodies or query strings
- Exclude logged-in users to cut internal noise
- Disable it or clear the sample at any time
Tools & Diagnostics
Check essential security configuration at a glance.
- See WordPress and PHP versions, HTTPS detection and debug status
- Switch on baseline browser security headers
- Create or compare a SHA-256 baseline of plugin and theme PHP files
The baseline stores file hashes, not file contents. Refresh it after legitimate updates.
Advanced Security
Selected hardening options, each with a compatibility note.
- Hide the WordPress generator tag
- Disable XML-RPC pingback methods only
- Restrict public REST API user listings
- Disable the built-in theme and plugin file editor
- Add conservative browser security headers
Backups & Maintenance
Export settings, restore defaults and download a database export when you need one.
- Download your plugin settings as a JSON file
- Stream an on-demand SQL export of your database
- Restore default settings, with optional log clearing
A database export contains sensitive data, so store it securely. It’s an export, not a restore tool.
Up and running in four steps
Install
Upload the wpcodeforge-security folder to /wp-content/plugins/, or install the ZIP from the Plugins screen.
Activate
Activate the plugin, then open WPCF Security in your WordPress admin menu.
Switch on protection
Enable the firewall, failed-login protection and comment honeypot from the dashboard.
Test & scan
Try your login, comments, forms and integrations, then run the scanner and review what it finds.
Built to complement good security habits
No single plugin can guarantee a website is safe. WPCodeForge Security adds a sensible protective layer alongside updates, secure hosting and tested backups.
Great for
- Adding baseline protection quickly
- Slowing brute-force login attempts
- Spotting changed core files and risky indicators
- Keeping a small, privacy-conscious security log
- Hardening common WordPress weak spots
Worth remembering
- Keep WordPress, plugins, themes and PHP updated
- Test important forms and integrations after enabling firewall rules
- The scanner is read-only: it reports, you decide what to do
- Keep regular, tested backups with your host
- The free plugin doesn’t send site data to external threat services
Start free, upgrade when you need more
The free plugin works fully on its own. Security Pro is a separate paid plugin with deeper controls.
Want deeper protection? Meet Security Pro
A separate paid plugin for administrators who want more control, richer investigation tools and stronger login defences.
- Authenticator-based two-factor authentication
- Advanced firewall, IP and rate-limit policies
- Plugin, theme and core integrity comparisons
- Vulnerability advisory lookups and threat intelligence options
- Database backup, integrity checks and recovery controls
Your questions, answered
Is WPCodeForge Security really free?
Yes. You can download it and use every working control at no cost. Security Pro is an optional, separate plugin for people who want extra features.
What do I need to run it?
WordPress 6.2 or newer and PHP 7.4 or newer. Everything is configured from the WPCF Security menu in your admin area.
Does this plugin guarantee my site is secure?
No security tool can promise that. This plugin adds selected baseline protections and diagnostics. Keep your software updated, use secure hosting, keep tested backups and review your security regularly.
Can the firewall block legitimate visitors?
Pattern-based rules can occasionally flag genuine requests. Review any custom rules carefully and test your important forms, integrations and APIs after enabling filtering.
Does the scanner repair or delete files?
No. The scanner is read-only. It reports selected indicators for you to review and doesn’t claim to be a complete malware scanner.
Does traffic logging store full IP addresses or query strings?
No. Traffic summaries store the request path without its query string, the request method and a broad session context. The sample is bounded and can be switched off.
Will the comment anti-spam work with every comment system?
It’s designed for the standard WordPress comment form. Custom themes and third-party comment systems may not output the fields, so test your form after enabling it.
Does the free plugin send my data to an outside service?
No site data goes to an external threat-intelligence service. Core integrity checks request the official checksum list from WordPress.org.
Do I need Security Pro?
No. The free plugin stays fully usable without it. Pro suits people who want extras such as two-factor authentication, expanded firewall policies and vulnerability intelligence. See Security Pro.
Give your WordPress site a stronger foundation today
Download WPCodeForge Security for free, switch on the essentials in minutes and move up to Pro only if you need more.
Created by James William Steven Parker
WPCodeForge Security is created and maintained by James William Steven Parker, founder and director of WPCodeForge. Learn more about us, our plugin development standards and our security disclosure policy.














