Skip to content
Learn Netverks

Lesson

Step 6/36 17% through track

authentication-basics

Authentication Basics

Last reviewed May 28, 2026 Content v20260528
Track mode
none
Means
Read / quiz
Reading
~1 min
Level
beginner

This lesson

This lesson teaches Authentication Basics: security mindset, common threats, and defensive practices for software teams.

Account takeover is the most common breach path—authn/z design is security-critical.

You will apply Authentication Basics in contexts like: SaaS login, mobile tokens, and workforce SSO portals.

Read scenario-based lessons, map controls to code you write on other tracks, and complete MCQs—practice threat modeling on paper or in docs.

When you can explain the previous lesson's ideas in your own words.

Authentication proves identity—"who are you?"—before authorization decides what you can do.

Factors

  • Something you know — password, PIN
  • Something you have — phone, hardware key
  • Something you are — biometric (use carefully with privacy)

Password storage

Apps must never store plaintext passwords. Use slow password hashes (bcrypt, Argon2) with unique salt per user—see hashing lesson.

Session after login

After auth, issue a session cookie or token; validate on every request—do not re-prompt password per click.

Important interview questions and answers

  1. Q: Auth vs authz?
    A: Authentication = identity; authorization = permissions.
  2. Q: Plaintext passwords?
    A: Never—use salted slow hashes.

Self-check

  1. Name three authentication factors.
  2. Why not store passwords in plaintext?

Pitfall: Rolling custom crypto for passwords—use battle-tested libraries.

Interview prep

Auth vs authz?

Identity vs permission.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • Auth vs authz?
  • Store passwords how?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump