{"id":917,"date":"2017-01-13T09:40:41","date_gmt":"2017-01-13T09:40:41","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=917"},"modified":"2017-01-13T09:40:41","modified_gmt":"2017-01-13T09:40:41","slug":"locking-wordpress-permissions","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2017\/01\/13\/locking-wordpress-permissions\/","title":{"rendered":"Locking down WordPress Permissions"},"content":{"rendered":"<p>So, wordpress sites do not need chmod 777, as some customers do use. Traditionally, you will want to create permissions in accordance with this document:<\/p>\n<p><a href=\"https:\/\/codex.wordpress.org\/Hardening_WordPress#File_Permissions\">https:\/\/codex.wordpress.org\/Hardening_WordPress#File_Permissions<\/a><\/p>\n<p>The most important pieces are chmod for folders and chmod for files using find to do this en-masse<\/p>\n<p><strong> D for directories <\/strong><\/p>\n<pre>\r\nfind \/path\/to\/your\/wordpress\/install\/ -type d -exec chmod 755 {} \\;\r\n<\/pre>\n<p><strong> F for files <\/strong><\/p>\n<pre>\r\nfind \/path\/to\/your\/wordpress\/install\/ -type f -exec chmod 644 {} \\;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>So, wordpress sites do not need chmod 777, as some customers do use. Traditionally, you will want to create permissions in accordance with this document: https:\/\/codex.wordpress.org\/Hardening_WordPress#File_Permissions The most important pieces are chmod for folders and chmod for files using find &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2017\/01\/13\/locking-wordpress-permissions\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[87,61,3,16],"tags":[],"class_list":["post-917","post","type-post","status-publish","format-standard","hentry","category-permissions","category-rackspace","category-security","category-wordpress"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=917"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/917\/revisions"}],"predecessor-version":[{"id":918,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/917\/revisions\/918"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}