Prevent Direct Access – Protect WordPress Files

prevent-direct-access
low
v2.8.9.2Score: 27 / 10010,000+ installs4.6/5 (298 ratings)Analyzed 2026-11-22

A simple way to prevent search engines and the public from indexing and accessing your files without complex user authentication.

WP Folio Team · Tested: WP 7.1.5 · Requires: WP 4.7 · PHP 7.0+ · Updated: 2026-11-20 11:59am GMT

Why 27/100? Score breakdown

Input parameters (attack surface size)+10
Direct $_GET / $_POST / $_REQUEST use+10
Static-analysis warning density+5
REST API routes+2

The risk score (0–100) estimates exposure; it is not a count of confirmed vulnerabilities. Large, well-maintained plugins score high because they expose more code. Levels: critical ≥ 70, high ≥ 50, medium ≥ 30, low ≥ 10, minimal below 10.

The full analysis of Prevent Direct Access 2.8.9.2 covers its attack surface (input parameters, endpoints, REST routes), static analysis (PHPCS security rules, PHPStan, Phan), OWASP Top 10 findings, known CVEs and CISA KEV status. It loads here when JavaScript is enabled. Raw data: JSON.