Cybersecurity & Privacy

Authentication vs Authorization

Authentication verifies who or what is making a request; authorization determines what that authenticated identity is allowed to do.

A system first validates credentials or a token, then checks permissions against roles, scopes or policies. Both checks should be enforced on the server for protected operations.

Two practical examples

Example 1. A user signs in successfully but cannot open an administrator page.

Example 2. An API accepts a valid access token but rejects a request to delete records because the token lacks that permission.

What to check in practice

  • Identify the exact device, software version or service involved before changing a setting.
  • Record the current configuration so you can reverse a change that causes problems.
  • Test one variable at a time and confirm the result using reliable measurements or logs.
  • Use the official documentation for model-specific limits, compatibility and safety requirements.
Important consideration

Hiding a button in the interface is not authorization. The server must check permissions for every protected action and resource.

Common question

What is the first thing to do? Start by identifying the exact use case and the system involved. Then verify the relevant settings or measurements before making changes. A general explanation is a starting point, not a substitute for checking your own environment.

TryHook publishes independent educational explainers. Product names and technical standards belong to their respective owners. Some pages may eventually contain clearly disclosed affiliate links; editorial explanations are not paid endorsements.

Explore more in Cybersecurity & Privacy

Continue with related beginner-friendly guides.

What Is Phishing?Read guideWhat Is Multi-Factor Authentication?Read guide