ACCS-1Lesson 1 of 48 min

Who you are versus what you may do

Once a system knows who you are, it must decide what you may do. That decision is authorisation, and the rules behind it are called access control.

An access decision

Figure ACCS-1.1Subject, action, object, decision

access decisions · results portal

09:01priya.s (student) · read · own marksALLOW
1/6

Every request is checked as three parts: who is asking (the subject), what they want to do (the action), and what to (the object). Priya asks to read her own marks: allowed.

Step 1 of 6

Deny by default

Good access control starts from “no” and adds what each subject needs. The opposite, starting from “yes” and trying to block bad requests, always misses some, because nobody can list every bad request in advance.

Check every request, on the server

Access must be checked on the system that holds the data, for every request. Hiding a button in the app is not access control: anyone can send the request without the button. The OWASP project, which tracks the most common web application weaknesses, has ranked broken access control as the most common serious weakness in its recent Top 10 lists.

ACCS-1 counts as completed once you step through the figure to its last step.