Security – Disallow Editing of Files in WordPress

Under several circumstances, it is not advisable to permit logged in WordPress users (administrators) to edit, plugin, theme, etc. files from withing the WordPress administrative screens. As such, it’s prudent to disable this type of editing feature. To turn off and prevent file editing (within WordPress), edit the wp-config.php file and add the following directive:

define('DISALLOW_FILE_EDIT', TRUE);

Leave a comment

BlogLogistics