Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wordpress:how-to-harden-wordpress-security [2015-01-27 00:30:04] rory.blanchard [Limit Read Access with SuPHP] |
wordpress:how-to-harden-wordpress-security [2016-02-02 18:05:44] rory.blanchard [.htaccess Rules] |
||
---|---|---|---|
Line 15: | Line 15: | ||
=====Limit Read Access with SuPHP===== | =====Limit Read Access with SuPHP===== | ||
- | **You must have the SuPHP module in apache installed to use this, SuPHP must also be selected as your PHP Handler** | + | <note alert>**You must have the SuPHP module in apache installed to use this, SuPHP must also be selected as your PHP Handler**</ |
SuPHP allows you to run your processes as your User ID, which restricts access to files that only you should normally be able to access. This means that on a shared server, you can protect other sites under different users by locking down the permissions for each user's directory. | SuPHP allows you to run your processes as your User ID, which restricts access to files that only you should normally be able to access. This means that on a shared server, you can protect other sites under different users by locking down the permissions for each user's directory. | ||
Line 35: | Line 35: | ||
allow from 127.0.0.1 | allow from 127.0.0.1 | ||
deny from all | deny from all | ||
+ | errordocument 403 "This file is forbidden" | ||
</ | </ | ||
Line 41: | Line 42: | ||
allow from 127.0.0.1 | allow from 127.0.0.1 | ||
deny from all | deny from all | ||
+ | errordocument 403 "This file is forbidden" | ||
</ | </ | ||
</ | </ | ||
Line 77: | Line 79: | ||
Additionally, | Additionally, | ||
+ | |||
+ | [[https:// | ||
\\ | \\ | ||
\\ | \\ | ||
{{tag> | {{tag> |