How to limit access to wp-config.php
-
Hi, I want to restrict access to the wordpress admin and config files using htpasswd/htaccess, whithout users having to know or enter this passwd when browsing the blog or posting comments. I want this especially so no one can but an admin user can read the wp-config.php, since this file has mysql username and password in (horror …) *plaintext*
But the way wordpress files are organized, once I restrict access to the top folder, users cant read the blog without knowing the password.
Any ideas on the best way to disllow access to wp-config.php, or if this is not possible, encrypt the mysql username and password?
Regards
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to limit access to wp-config.php’ is closed to new replies.