Lesson plan: Login Settings

AP Cybersecurity · Unit 4 Securing Devices · Topic 4.2 Authentication · Practice set

At a glance

Suggested time
1 class period (45 min)
Pacing
Last of four sets for Topic 4.2. The CED gives Topic 4.2 five class periods; this plan suggests 1 for Hashing and Password Storage, 2 for Password Attacks, 1 for Authentication Factors and MFA, and 1 for this set. CED Scenario 4B (the password and account-lockout policy on a shared office computer) is folded into this set's period as the exit check.
Before this set
Hashing and Password Storage (a system stores a salted hash of each password and compares hashes at sign-in), Password Attacks (online guessing, password spraying, dictionary attacks, and offline cracking of a copied hash file), and Authentication Factors and MFA (a password is a knowledge factor). The problems use all of these terms without explaining them.
Skills
2.D Implement and log mitigations with and without the support of AI.
2.A Identify security controls, and explain how they mitigate risks.

The one idea: Each login setting answers one problem. Complexity and minimum length make a password slower to crack, password history stops a repeat, maximum age replaces a password that may already be stolen, and lockout stops endless guessing at the sign-in screen. Pick the setting for the problem in front of you, at a value the people who sign in will live with.

Day by day

Day 1 · Five settings and what each one stops45 min

Differentiation

If students are struggling
Hand out a five-row card (setting, what it stops, what it costs the people who sign in) and have students fill it from the lesson's definition boxes before Problem 1 🔒. Keep the card open through Problem 5 🔒, then do Problem 7 🔒 together before the pairs work.
Extension
Run Scenario 4B on a real machine: on a Windows Pro or Enterprise computer, the same settings sit in Local Security Policy under Account Policies (Password Policy and Account Lockout Policy). Its complexity setting asks for characters from three categories, where the CED's definition asks for all four; have students find that difference and decide whether it matters.
Vocabulary support
character set, complexity, minimum password length, maximum password age, password history, lockout threshold, lockout period.

From the course framework

LO 4.2.D Configure login settings to make a device more secure.

  • 4.2.D.1 Requiring complexity in passwords is a login setting that can be configured. When enabled, users setting a new password must include at least one character from each character set. Passwords with characters from each character set are significantly harder for an adversary to crack than passwords that use characters from only one or two character sets. The main character sets often required are: Uppercase letters (A-Z); Lowercase letters (a-z); Numeric digits (0-9); Special characters (!"#$%&'()*+,-./:;<=>?@[ \ ] ^_`{|}~)
  • 4.2.D.2 Requiring a minimum password length is a login setting that can be configured. This means that users must have at least a certain number of characters in their password. The longer and more complex a password is, the longer it will take a digital tool to crack the password.
  • 4.2.D.3 Requiring a maximum password age is a login setting that can be configured. When configured, users will receive a prompt to change their password a certain number of days after their last password change, usually every 90 or 120 days. If a user's password has been compromised, changing it could prevent an adversary from gaining access to the user's account. However, some national standards recommend that organizations not require users to change their passwords on predefined intervals to discourage users from developing password patterns (e.g., PasswordFall2028).
  • 4.2.D.4 Requiring the system to store a certain number of previous user passwords is a login setting that can be configured. This prevents a user from reusing a password. Many organizations store users' previous 5-10 password hashes to prevent reuse.
  • 4.2.D.5 Requiring a lockout period after a certain number of invalid login attempts is a login setting that can be configured. This prevents an adversary from continuously randomly attempting wrong passwords. Many organizations lock a user's account after 3-5 invalid login attempts. The period of the lockout varies.