Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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**</note>
  
 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"
 </files> </files>
  
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"
 </files> </files>
 </code> </code>
Line 77: Line 79:
  
 Additionally, it will check your core WordPress files against the public repositories to make sure that your files have not been modified. Additionally, it will check your core WordPress files against the public repositories to make sure that your files have not been modified.
 +
 +[[https://www.ndchost.com/wiki/wordpress/how-to-use-wordfence-security-plugin|How to Install Wordfence]]
 \\ \\
 \\ \\
 {{tag>wordpress how-to guide security}} {{tag>wordpress how-to guide security}}