MODULE 06 · AUTHENTICATION & SECURITY

Password

A secret that a user provides to help prove their identity during sign-in.

01 · What is it?

A password is a secret value that a user knows and provides during authentication.

The application compares a protected representation of the submitted password with the stored representation. It should not store the original password as readable text.

Simple Definition:
A password is a user-held secret used to prove identity.

02 · Think of it like...

Think of a password like a secret phrase for a locked room.

The person says the phrase at the entrance. The entrance system checks it without displaying the protected secret. If the check succeeds, the person can continue.

User
Password
Sign-in Form
Password Check
Account Access

03 · What does it do?

A password supports the sign-in part of an authentication flow.

Accept a Secret

The sign-in form receives the password over a protected connection.

Check Identity

The server checks whether the secret matches the account record.

Allow or Reject

A successful check continues the login flow; a failed check returns an error.

04 · Where is it used?

Passwords are commonly used when an application needs a user to sign in with an account.

Account Sign-inReturning users

A user enters a known email or username and password.

Account CreationNew accounts

A user chooses a password that the application can protect.

Password ChangeCredential updates

An authenticated user replaces an old password with a new one.

Password ResetAccount recovery

A recovery flow helps a user create a new password after forgetting the old one.

05 · Example

A user signs in to a web application.

What the user does

The user enters an email address and password, then submits the sign-in form.

What the system does

The server finds the account, checks the password securely, and continues the login flow only when the check succeeds.

The password should travel over HTTPS and should never be exposed in the page URL or returned in a response.

06 · How it connects

User
Sign-in Request
Password Check
Session
Protected Page

A password helps authenticate the user. A session or token usually carries the result of that authentication to later requests.

07 · Do Not Confuse

Password

A secret that a user provides to prove knowledge during sign-in.

Password Hash

A one-way derived value used by the server to verify a password without storing the original.

Session

State that helps the application remember a successful login across later requests.

A password is the secret used during authentication; it is not the same thing as the session that follows a successful login.

08 · Topic Glossary

ENGLISH TERM中文SIMPLE ENGLISH中文小白理解
Password密码A secret value used during sign-in.登录时使用的一段秘密信息。
Authentication身份认证The process of checking who a user is.判断用户是谁的过程。
Sign-in登录The action of entering credentials to access an account.输入凭证以进入账户的操作。
Password Hash密码哈希A derived value used to verify a password without storing the original.不用保存原始密码、而是用来验证密码的一种计算结果。
Salt盐值Extra random data added before a password is hashed.哈希密码前加入的额外随机数据。
Credential凭证Information used to prove or represent access.用来证明身份或表示访问权限的信息。
Session会话State that helps a system remember a successful login.帮助系统记住用户已登录状态的信息或机制。
Password Reset密码重置A flow for creating a new password after the old one is forgotten or changed.忘记或需要更改旧密码后重新设置新密码的流程。

09 · What to Remember

A password is a user-held secret used to authenticate an account.

Applications should protect passwords with secure transport, one-way password hashing, and careful recovery flows.

Core Flow:
Password → Authentication Check → Session or Token → Protected Access

↑