A source-cited reference library 399 modules · 19 subdomains · 5 domains
Research Library
Dietmar Rabich
Photo: Dietmar Rabich, CC BY-SA 4.0, via Wikimedia Commons

Cybersecurity / Defense and Hardening

Authentication

CybersecurityDefense and Hardening1,600 words7 min readSource: techtarget.com

Authentication is the process of determining whether someone or something is who or what they say they are. Authentication technology provides access control for systems by checking to see if a user's credentials match the credentials in a database of authorized users or a data authentication server. In doing this, authentication ensures that systems, processes and enterprise information are secure.

How Authentication Works

During authentication, user-provided credentials are compared to those on file in a database of authorized user information. This database can be located either on the local operating system server or an authentication server. If the credentials match those on file and the authenticated entity is authorized to use the resource, the user gains access. User permissions determine which resources the user gets access to and other access rights linked to the user. Those other rights can be factors such as which hours the user can access the resource and how much of the resource the user can consume. Traditionally, authentication was accomplished by the systems or resources being accessed. For example, a server would authenticate users using its own password system, login IDs or usernames and passwords. However, the web's application protocols—Hypertext Transfer Protocol and HTTP Secure (HTTPS)—are stateless, meaning strict authentication would require end users to reauthenticate each time they access a resource using HTTPS. To simplify user authentication for web applications, the authenticating system issues a signed authentication token to the end-user application; that token is appended to every request from the client. This means users do not have to sign on every time they use a web application.

Types and Components of Authentication

There are several authentication types. For user identity, users are typically identified with a user ID; authentication occurs when the user provides credentials, such as a password, that match their user ID. The practice of requiring a user ID and password is known as single-factor authentication (SFA). In recent years, organizations have strengthened authentication by asking for additional authentication factors. These can be a unique code provided to a user over a mobile device when a sign-on is attempted or a biometric signature, such as a facial scan or thumbprint. This is known as two-factor authentication (2FA). Authentication protocols can go further than 2FA and use multiple factors to authenticate a person or system. Authentication methods that use two or more factors are called multifactor authentication (MFA).

Validating a user with a user ID and password is considered the most basic type of authentication. It depends on the user knowing those two pieces of information. Since this type of authentication relies on just one authentication factor, it is a type of SFA. Strong authentication is more reliable and resistant to attack. Typically, it uses at least two different types of authentication factors and often requires strong passwords with at least eight characters, a mix of lowercase and uppercase letters, special symbols and numbers. 2FA and MFA are types of strong authentication, with MFA among today's most common authentication practices.

An authentication factor represents a piece of data or attribute that can validate a user requesting access to a system. An old security adage has it that authentication factors can be something you know, something you have or something you are. Additional factors have been proposed and applied in recent years, with location often serving as the fourth factor and time serving as the fifth factor.

Factor Type Description
Knowledge Something you know, such as a PIN, username, password or answers to secret security questions
Possession Something you have, such as a hardware device, smart card or mobile phone used to accept a text message or run an authentication app
Inherence Something you are, typically based on biometric identification such as fingerprints, facial recognition or a retina scan

Location refers to where the authenticating party is, which can be determined with reasonable accuracy by devices equipped with a Global Positioning System or with less accuracy by checking network addresses and routes. The location factor usually is not the only factor used for authentication; it usually complements other factors, providing a means of ruling out some requests. Time refers to when authentication takes place, which is another supplemental mechanism for weeding out attackers who attempt to access a resource when that resource is not available to the authorized user. It is often paired with location. Despite their merit as supplemental authentication factors, location and time by themselves are not sufficient to authenticate a user, without at least one of the first three factors.

Different types of authentication mechanisms include: - Single-factor authentication (SFA): Depends on the use of a password file, in which user IDs are stored together with hashes of the passwords associated with each user. When logging in, the password the user submits is hashed and compared to the value in the password file. - Two-factor authentication (2FA): Adds an extra layer of protection by requiring users to provide a second authentication factor in addition to the password, such as a verification code received via a text message on a preregistered mobile phone or a code generated by an authentication application. - Multifactor authentication (MFA): Requires users to authenticate with more than one authentication factor, including a biometric factor, a possession factor like a security key fob, or a token generated by an authenticator app. - One-time password (OTP): An automatically generated numeric or alphanumeric string of characters that authenticates a user, valid for only one login session or transaction. - Three-factor authentication: Uses three authentication factors—usually a knowledge factor such as a password, a possession factor such as a security token, and an inherence factor such as a biometric. - Biometrics authentication: Usually used as a second or third factor, with examples including fingerprint scans, facial or retina scans, and voice recognition. There are at least 16 biometric authentication factors, ranging from fingerprint and retina scans to voice recognition and vein patterns. - Mobile authentication: The process of verifying users via their devices or verifying the devices themselves, enabling users to log into secure locations and resources from anywhere, typically requiring MFA that can include OTPs, biometric authentication or a quick response code. - Continuous authentication: Users do not log in or out; instead, a company's application continually computes an authentication score that measures how sure it is that the account owner is the individual using the device. - Application programming interface (API) authentication: Standard methods include HTTP basic authentication, API key authentication, and Open Authorization (OAuth), an open standard for token-based authentication and authorization on the internet that enables a user's account information to be used by third-party services without exposing the user's password.

Standards and Algorithms Governing Authentication

Authentication protocols rely on established mechanisms to manage identity verification. In HTTP basic authentication, the server requests authentication information, such as a username and password, from a client. The client then passes the authentication information to the server in an authorization header. In API key authentication, a first-time user is assigned a unique generated value indicating the user is known. Each time the user tries to enter the system again, their unique key is used to verify they are the same user who entered the system previously. Open Authorization, or OAuth, is an open standard for token-based authentication and authorization on the internet. It enables a user's account information to be used by third-party services, such as Facebook, without exposing the user's password. OAuth acts as an intermediary on behalf of the user, providing the service with an access token that authorizes the sharing of specific account information. Machine authentication can be carried out with machine credentials, similar to a user's ID and password but submitted by the device in question. Machine authentication also uses digital certificates issued and verified by a certificate authority as part of a public key infrastructure to prove identification while exchanging information over the internet.

Limitations and Failure Points

This approach to authentication has several drawbacks, particularly for resources deployed across different systems. For one thing, attackers who gain access to the password file for a system can use brute-force attacks against the hashed passwords to extract the passwords. SFA also requires multiple authentications for modern applications that access resources across multiple systems. Single sign-on technology has addressed some password-based authentication weaknesses. They also can be addressed, to some extent, with smarter usernames and passwords based on rules such as minimum length and complexity and using capital letters and symbols. However, password-based authentication and knowledge-based authentication are more vulnerable than systems that require multiple independent methods. While the terms authentication and authorization are often used interchangeably and implemented together, they are distinct functions. Authentication involves validating the identity of a registered user or process before enabling access to protected networks and systems. Authorization is a more granular process that ensures the authenticated user or process has been granted permission to gain access to the specific resource requested. A user can be authenticated but not provided access to a resource if that user was not granted permission to access it. The process by which access to some protected resources is restricted to certain users is called access control. In access control models, authentication always comes before authorization. Different types of access control require different layers of authentication. With the growth of internet-enabled devices, reliable machine authentication is crucial to enable secure communication for home automation and other internet of things applications. Each IoT access point is a potential intrusion point. And every networked device needs strong machine authentication and must be configured for limited permissions access to restrict what can be done should they be breached.

Source

Adapted for this library from the original article at https://www.techtarget.com/searchsecurity/definition/authentication — see the publisher's site for the authoritative version. (retrieved October 2026).