Security and professional ethics
Đã giới thiệu
Từ vựng
| English | Ý nghĩa |
|---|---|
| threat model | threat model |
English
Assets, entry points, attackers
- A threat model lists assets (member records, loan history), entry points (web form, API, reminder channel), attackers (opportunistic, insider, automated) — then pairs each threat with a mitigation.

{exercise:uni-cs1206-model}
Luyện tập
A threat model pairs —
Độ khó 1/5 · 100 xu + phần thưởng nhỏ khi hoàn thành lần đầu tiên hôm nay
Assets x entry points x attackers, then a mitigation per threat.
English
Least privilege, counted
- BookShare's authorisation matrix: 3 roles x 6 actions = 18 cells, 4 allowed — 14 denials by default. Least privilege as a countable property.
- The search form closes its SQL-injection row with parameterised queries and a length cap — tested by feeding
' OR '1'='1and asserting zero rows leaked.
{exercise:uni-cs1206-privilege}
Luyện tập
The authorisation matrix allows — of 18 cells
Độ khó 1/5 · 100 xu + phần thưởng nhỏ khi hoàn thành lần đầu tiên hôm nay
3 roles x 6 actions, 4 allowed: 14 denials by default.
English
The ethics call
- The product owner asks to sell reading history to advertisers. The professional codes put privacy harm and public interest above employer preference: documented refusal with alternatives (anonymised aggregate with consent) — ethics is a decision with a paper trail, not a feeling.
- "Internal tool" is not a security exemption; authorisation by hiding links fails because the endpoint still answers.
{exercise:uni-cs1206-ethics}
Luyện tập
The professional answer to the data-sale request is —
Độ khó 1/5 · 100 xu + phần thưởng nhỏ khi hoàn thành lần đầu tiên hôm nay
Codes put privacy and public interest above employer preference - the paper trail is the point.