File permissions specify who and what can read, write, modify, and access them. This is important, as the Codex explains, because WordPress may need access to write to files in your wp-content directory to enable certain functions. If your files don’t have the best possible permissions in place, it’s easier for hackers to intrude on your files and your site. Setting your file permissions correctly may not save you from all attacks, but it will help make your site a bit more secure, making it a great addition to your current security measures. The WordPress Codex has some information on WordPress file permissions, but it doesn’t go into a whole lot of detail so it can be tough to follow. So in today’s Weekend WordPress Project we’ll look at file and folder permissions in detail, and how to change them to improve your site’s security. What Do File Permissions Look Like? Generally speaking, there are two categories that need to be considered when viewing file permissions: Actions and user groups. Actions your site’s plugins and files can make are: Read – allows access to a file to view its contents only Write – allows the file to be changed Execute – gives access to a file in order to
Share This