What do authentication and authorization mean?
Authentication verifies who someone is, for example by password, two-factor method or passkey. Authorization determines what the identified person may do, such as which data they can view or change. The two steps follow one another and form the basis of any access control.

Authentication and authorization: the difference
The two terms are often confused but answer different questions. Authentication asks: who is this? Authorization asks: what may this person do? At the airport, the ID check corresponds to authentication, the boarding pass with flight and seat to authorization. Only both together get you on board.
The same order applies in software. First a user proves who they are, then the application checks for every action whether their role permits it. A successful login alone does not mean access to everything—and conversely, the best permission management is useless if identity is not verified reliably.
How it works
Authentication works through something you know (password), have (smartphone, security key) or are (fingerprint, face recognition). If at least two of these factors are combined, it is called two-factor or multi-factor authentication. Passkeys based on FIDO2 and WebAuthn replace passwords with cryptographic keys and protect better against phishing.
Authorization follows rules. In the role-based model (RBAC), each user gets a role such as “accounting” or “field service” with fixed rights. More flexible models take attributes such as department or location into account. The guiding principle is least privilege: everyone gets only the rights they need for their task.
Real-world example: a supplier’s customer portal
A supplier sets up a portal where customers retrieve invoices and delivery notes. Signing in with email, password and a one-time code is the authentication. After that, each customer may see only the documents of their own company, while sales staff may see all customers—that is the authorization.
A typical weakness: the invoice can be reached via an address such as /invoice/4711, and the application only checks whether the user is logged in, not whether the invoice belongs to them. By changing the number, they would see other people’s documents. The check must therefore take place on the server for every access.
Common mistakes and limits
Broken access control ranked first among web application risks in the 2021 edition of the OWASP Top 10. It is usually not the login that is at fault, but incomplete permission checks that are simply forgotten for new features. Common mistakes:
- Hiding rights only in the interface but not checking them on the server
- Shared accounts, so actions cannot be attributed to anyone
- Too many administrators and rights that are never withdrawn
- Weak passwords without a second factor for sensitive access
- No logging of logins and permission changes
What businesses should look out for
Define roles and rights during the design phase, grant only what is necessary and review access regularly. Sensitive access should be protected with two-factor authentication. Nano Concepts plans and programs login, role model and permission checks for portals, apps and web applications and tests them specifically for typical vulnerabilities.
Frequently asked questions about Authentication & authorization
Always authentication first. Only once it is established who someone is can the application decide what that person may do. Authorization is then checked for every single action, not just once at login.
It requires you to identify yourself with two different kinds of proof, for example a password plus a code from an app or a security key. Even if a password is stolen, the account stays protected. Administrator accounts and email access in particular should be secured this way.
With RBAC, rights are assigned not to individuals but to roles, such as “accounting” or “field service”. Whoever holds a role receives its rights. This keeps administration clear and traceable, especially when employees change positions.
A passkey is a login method without a password. A cryptographic key is stored on the device, and approval is given by fingerprint, face recognition or device PIN. Because no secret is typed in, it protects well against phishing and stolen passwords.
Matching services

Web Security
Find and fix vulnerabilities – for websites, online stores, customer portals and custom web applications.
Learn more
Customer Portal Development
A protected self-service area where your customers retrieve orders, invoices, documents and tickets themselves.
Learn more
Web Applications
Customer portals, dashboards and SaaS platforms that run in the browser – no installation, on any device.
Learn moreRelated terms
Relevant for these industries
Related magazine articles

Web Security: OWASP Top 10 and a Pragmatic Checklist for Teams
Most security vulnerabilities follow familiar patterns. With the OWASP Top 10 as a guardrail and a prioritized checklist, you close typical gaps before they become a problem.
Read more
Replacing Excel: When a Custom Web App Pays Off
Version chaos, locked files, broken formulas: when Excel hits its limits, which alternatives exist and how the move to a web app with a database succeeds while operations keep running.
Read moreGDPR-Compliant Tracking: Consent, Data Flows and Trust
Tracking and data protection aren’t mutually exclusive: which services need consent, how to document data flows and how to implement the technology so it does what your privacy policy promises.
Read more