0
0
Wordpressframework~5 mins

File permission hardening in Wordpress - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
A755
B777
C644
D600
Which file permission is safest for wp-config.php?
A777
B644
C600
D755
Why should you avoid 777 permissions on WordPress files?
AIt allows anyone to modify files
BIt makes files read-only
CIt hides files from users
DIt encrypts the files
What does the permission 644 mean for a file?
AEveryone can read/write
BOwner can read/write; group and others can read
COnly owner can read/write
DOwner can execute only
Which WordPress folder should never be writable by the public?
A/wp-content/uploads
B/wp-includes
C/wp-content/plugins
D/wp-admin
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.