Skip to content
AITermsLab
–points–day streak

What is authorization?

Authorization is how an app decides what you're allowed to do once it knows who you are, like which pages you can open or change.

Last updated

In real life

At the members-only club, your card gets you through the door. Authorization is which rooms that card opens: the lounge yes, the staff kitchen no.

Try it yourself

The demo is a pretend log-in for sam@example.com. Log in and open your own orders, and the backend allows it. Open Alex's orders and it refuses: it knows you're Sam, but the rules say Sam can only see Sam's orders.

Pretend account: sam@example.com, password pancakes. Log in, then open your own orders and then Alex's. Nothing you type leaves this page.

Your screen (the frontend)

Log in to see your orders.

The backend (hidden from visitors)

Waiting for a request.

Authorization vs authentication

Authentication comes first and checks who you are, usually with a log-in. Authorization comes next and decides what that person may see or change, like only their own orders.

What is authentication?

Full comparison: Authentication vs authorization

Common questions

Is it authorization or authorisation?

Both are right. Authorization is the American spelling and the one most people search for. Authorisation is the British spelling. They mean exactly the same thing.

What does a 403 error mean?

The site knows who's asking but won't allow it: an authorization refusal. A 401 error is different. It means the site doesn't know who you are yet, so log in first.

Where you will use this

Quick check: Authorization

Question 1 of 3

What question does authorization answer?

What question does authorization answer?