Deny All Firewall icon
Security

Deny All Firewall

Stop unwanted requests before WordPress loads. Deny All Firewall uses .htaccess to allow genuine content and refuse everything else.

Developer Olly Campion
93 Excellentmaintenance
  • 9 yearson WordPress.org
  • 13plugins
  • 40,990+installs in total
  • 4.8★avg. rating (227)
  • 100%of plugins updated this year
9/14 badges Profile →

Is Deny All Firewall safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 2 months ago (version 2.0.4).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 7.0+.
  • Note: Few reviews so far No ratings on WordPress.org yet.
  • Note: Small user base Active on 50+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 20, 2026. Always keep plugins updated and test changes on a staging site.

Overview

Deny All Firewall describes itself as: “Stop unwanted requests before WordPress loads. Deny All Firewall uses .htaccess to allow genuine content and refuse everything else.”

It is active on 50+ WordPress sites. Developers can extend it through 2 actions and 6 filters, listed below.

We haven't published a hands-on review of Deny All Firewall yet. Want one, or need help with it? Send us a request.

How to install Deny All Firewall

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Deny All Firewall” and pick the one by Olly Campion.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install deny-all-firewall --activate

Requirements: WordPress 5.0+ · PHP 7.0+ · tested up to WordPress 7.1.5

Hooks & customisation

Deny All Firewall 2.0.4 fires 2 actions and 6 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

deny-all-firewall — top hooks
// Filters the admin pages where plugin notices may be shown.
apply_filters( "{self::$plugin_prefix}_admin_notice_pages", $allowed_pages );

// Filters whether Deny All Firewall should create a physical robots.txt file. Re…
apply_filters( 'daf_enable_static_robots_txt', true );

// Filters whether this server supports Apache-style .htaccess rewrite rules. Ret…
apply_filters( 'daf_server_supports_htaccess', $supports_htaccess );

// Action in includes/class-daf-common.php
do_action( "{self::$plugin_prefix}_admin_notice_donate" );

// Filter in includes/class-deny-all-firewall-helpers.php
apply_filters( 'daf_cloudflare_ip_ranges', $ranges );

// Action in deny-all-firewall.php
do_action( 'do_robotstxt' );

Browse all 8 hooks with examples →

Deny All Firewall: frequently asked questions

Is Deny All Firewall free?

Yes. Deny All Firewall is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Deny All Firewall safe to use?

Deny All Firewall is actively maintained: the latest version was released 2 months ago. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Deny All Firewall work with WordPress 7.1?

Yes. Deny All Firewall is tested up to WordPress 7.1, the current release. It requires WordPress 5.0 or later and PHP 7.0 or later.

How many websites use Deny All Firewall?

Deny All Firewall is active on 50+ WordPress sites, according to WordPress.org. It is currently at version 2.0.4, last updated on October 7, 2026.

What are the best alternatives to Deny All Firewall?

We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Security plugins for related options.

Can I customise Deny All Firewall without editing its code?

Yes. Deny All Firewall 2.0.4 fires 2 actions and 6 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 8 hooks with examples.

Done for you

Need Deny All Firewall to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Deny All Firewall customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Olly Campion. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 20, 2026.

More plugins by Olly Campion

All 13 →

Removes the WordPress credit on all default classic WordPress themes and replaces with a widget sidebar for those wanting to…

20,000+ installs Updated 3 months ago 1 hooks

Adds powerful customizer options to modify all aspects of the default WordPress theme Twenty Seventeen.

8,000+ installs Updated 3 months ago 3 hooks

Adds powerful customizer options to modify all aspects of the default WordPress theme Twenty Twenty-One.

6,000+ installs Updated 3 months ago 4 hooks

Adds powerful customizer options to modify all aspects of the default WordPress theme Twenty Twenty.

3,000+ installs Updated 3 months ago 2 hooks

Alternatives in Security

See all →
Reviewed

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for…

5+ million installs Updated 3 months ago 43 hooks

Firewall, Malware Scanner, Two Factor Auth, and Comprehensive Security Features, powered by our 24-hour team. Make security a priority with…

5+ million installs Updated 2 weeks ago 98 hooks

Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vulnerability Detection and SSL certificate.

3+ million installs Updated 4 weeks ago 116 hooks

Simplified WordPress management. Manage site info, maintenance, security, & redirects.

3+ million installs Updated 4 days ago 7 hooks