WP Security Ninja

Product details

Q: About the Firewall

Hi,
I wanted to understand better how Security Ninja’s Cloud Firewall works technically.
Specifically:

At what point in the request lifecycle does Security Ninja block malicious IPs or bots?

Does the firewall block requests before WordPress core and plugins start loading, or does WordPress partially load before the block is applied?

Is the firewall implemented using server-level rules, PHP auto_prepend_file, or does it run purely as a plugin after WordPress initializes?

For comparison, plugins like NinjaFirewall (WP Edition) block bad requests before WordPress loads, which can significantly improve site performance by reducing resource usage.

Understanding this difference will help me choose the best solution for both security and speed.

Thank you!

LumenForgePLUSJul 18, 2025
Founder Team
Lars_Koudal

Lars_Koudal

Jul 21, 2025

A: Thank you for your thoughtful question! Right now, Security Ninja's Cloud Firewall operates at the plugin level, which means it runs after WordPress has initialized. This approach allows us to provide advanced features and detailed, localized error messages, but it does mean that WordPress core and plugins partially load before a block is applied, so it's a little bit less efficient than server-level or auto_prepend_file solutions.

That said, we're actively working on a major internal project (nicknamed "Calvin") to move our firewall logic to an even earlier stage in the request lifecycle, similar to what you described. Our goal is to block malicious requests before WordPress loads, which will improve both security and performance. We're currently testing this approach to ensure we can maintain all the features and flexibility our users expect, including things like localized error messages (which can be tricky without loading WordPress).

We'll share more details as this project progresses, we are of course keen on making the firewall even more effective and efficient is a top priority for us. Sumo-lings of course get to enjoy the benefits when it is released for everyone :-)

Thanks again for your interest and for helping us make Security Ninja better!

Share
Helpful?
Log in to join the conversation
Verified Purchaser badge

Verified purchaser

Posted: Jul 21, 2025

Thank you for the detailed response, that's awesome news!
I'm really glad to hear the firewall logic is moving to an earlier stage in the request lifecycle. Keep up the great work! Thanks again for being transparent and committed to improvement

Related questions
View product details