Recall & Review
beginner
What is the main goal of file permission hardening in WordPress?
To restrict access to files and folders so only authorized users and processes can read, write, or execute them, improving security.
Click to reveal answer
beginner
Which file permission setting is recommended for WordPress files?
Files should generally have permissions set to 644, meaning the owner can read/write, and others can only read.
Click to reveal answer
beginner
What permission setting is recommended for WordPress directories?
Directories should usually be set to 755, allowing the owner to read/write/execute and others to read/execute only.
Click to reveal answer
intermediate
Why should the wp-config.php file have stricter permissions?
Because wp-config.php contains sensitive information like database credentials, it should be set to 600 or 640 to limit access.
Click to reveal answer
beginner
What is the risk of setting WordPress files or folders to 777 permissions?
Setting permissions to 777 allows anyone to read, write, and execute, which can lead to unauthorized changes and security breaches.
Click to reveal answer
What permission should you set for WordPress directories to keep them secure?
✗ Incorrect
755 allows the owner full access and others read and execute, which is secure for directories.
Which file permission is safest for wp-config.php?
✗ Incorrect
600 restricts access to only the owner, protecting sensitive data in wp-config.php.
Why should you avoid 777 permissions on WordPress files?
✗ Incorrect
777 lets anyone read, write, and execute files, risking unauthorized changes.
What does the permission 644 mean for a file?
✗ Incorrect
644 means owner has read/write, others have read-only access.
Which WordPress folder should never be writable by the public?
✗ Incorrect
/wp-admin contains core admin files and should be protected from public write access.
Explain why setting correct file and directory permissions is important in WordPress security.
Think about who can read, write, or execute files and why that matters.
You got /4 concepts.
Describe the risks of using overly permissive settings like 777 on WordPress files and folders.
Consider what happens if everyone can change your website files.
You got /4 concepts.