Sub topic 13
Practicing security configuration
This chapter assumes you have a Windows guest and a Linux guest running in your virtual machine lab, and that you can take snapshots. You also need basic familiarity with Windows Settings and the command prompt. Security tasks appear in both A+ exams, so this is hands-on practice for objectives you will see again in the troubleshooting and performance-based question chapters.
Why practice security in a lab
Security questions often ask what you would do, not what a term means. You answer them faster if you have already clicked through the settings. A lab lets you change accounts, permissions, and firewall rules without risking a real machine. Take a snapshot before each exercise so you can undo mistakes.
A set of tasks to rehearse
Work through these tasks on the Windows guest first. Repeat the ones that apply on the Linux guest.
- Create a standard user and an administrator. Sign in as the standard user and try to install software. Note what prompts appear.
- Create a folder and set NTFS permissions so one user can read it and another cannot. Then compare share permissions with NTFS permissions, and note which is more restrictive when both apply.
- Turn Windows Defender Firewall on, add an inbound rule that blocks a program, and then remove it.
- Enable BitLocker or review its requirements. A virtual machine may lack a TPM, so check what the guest offers.
- Change the account lockout and password policies in Local Security Policy.
- On Linux, create a file and change its permissions with
chmod. Check the result withls -l.
touch report.txt
ls -l report.txt
chmod 640 report.txt
ls -l report.txtThe first ls -l shows the default mode. After chmod 640, the owner can read and write, the group can read, and others have no access.
Test, don't just configure
Setting a rule is only half the task. Always test it from the affected account. If you block a folder, sign in as that user and confirm the access error. A rule you never tested may not work, and the exam often asks you to find the setting that is wrong.
Keep notes that feed your review
For each task, write one line: the goal, the setting you changed, and the result. These lines become flashcards for the active recall sessions described earlier. They also show you which security objectives you have actually practiced, so you can tick them off in your objectives checklist.
Exercise
You set an NTFS permission that denies a user access to a folder. How do you confirm the rule works, and how do you recover if you lock yourself out?
Show answer
Sign in as the affected user and try to open the folder. You should see an access denied error. If you lock yourself out, roll back to the snapshot you took before the change, or sign in as an administrator and edit the folder's permissions.
Exercise
A file shows the mode -rw-r----- on Linux. Which chmod value produces it?
Show answer
chmod 640. The owner gets read and write (6), the group gets read (4), and others get nothing (0).