file-permissionsWP 7.0+ & PHP 8.3+File Permissions & wp-config.php Hardening
Checks filesystem permissions and WordPress hardening constants to close common post-exploitation paths.
Checks that sensitive files like wp-config.php are locked down and visitors cannot run PHP scripts inside your Media Uploads folder.
World-writable files (0777) or PHP execution in wp-content/uploads/ turn minor upload bugs into full server compromise.
Open Directly in Your WordPress Admin
Inspect file mode audits and 1-click hardening checks.
/wp-admin/admin.php?page=webcare-pro-backups&tab=server
Where It Lives in Your WordPress Admin
Every Option & Setting Explained
Verifies wp-config.php is 0640 or 0600 (never 0644/0666 on shared hosts).
Prevents direct execution of .php files uploaded into wp-content/uploads/.
| Option / Button | What It Does (Plain English) | Recommended |
|---|---|---|
| wp-config.php Mode Check | Verifies wp-config.php is 0640 or 0600 (never 0644/0666 on shared hosts). | 0640 or 0600 |
| Block PHP in Uploads | Prevents direct execution of .php files uploaded into wp-content/uploads/. | Enabled |
Step-by-Step Setup & Verification
3 Steps- 1Navigate to WebCare Pro -> Backups & Vault -> Permissions & Hardening.
- 2Review any yellow or red permission warnings.
- 3Apply recommended 0755 (directories) and 0644/0640 (files) permissions.
How It Works & How It Protects Your Website
Recommended WordPress Permission Baseline
| Path | Recommended Mode |
| :--- | :--- |
| Directories | 0755 |
| Standard PHP Files | 0644 |
| wp-config.php | 0640 or 0600 |
| webcare-waf/ | 0700 / 0600 (outside docroot) |
Frequently Asked Questions
Why does DISALLOW_FILE_EDIT matter?
It disables the built-in WordPress Theme/Plugin File Editor so even a compromised admin session cannot inject PHP directly from wp-admin.