Authentication protocols define how users, devices, and services verify their identity before gaining access to a network, device, or resource. This topic covers the core protocols used in point-to-point connections and AAA (Authentication, Authorization, and Accounting) frameworks.
Authentication Protocols
In order to grant access into some sort of resource, we better go through some sort of authentication process. We better do a verification process to ensure whatever user or device that's accessing this resource has permission to access that resource.
What we're gaining access to could be any number of resources. It might be the network, or it could be a device on that network, or a service that's running on that device. Maybe it's a file share. Maybe it's the file itself. Maybe it's a printer. Any number of resources; there's lots of different resources. So it could be any of these resources that we're authenticating to get into.
On the other side, we could be granting access to a device. Maybe it's a laptop or desktop or a server. Maybe we're accessing it from a user, whoever's on that system, and gaining access by a user that they have access to these resources. Or maybe it's by a service, so we could have a service that's running on this machine that's talking to another service or talking to the network, or whatever the case may be. So we can have any number of what needs the access to what resource it is.
In order to carry this out, we need some sort of protocol that allows this authentication, some sort of verification where this user says, "Hey, I would like access to this resource." And this resource is, "Okay, well, show me your credentials to do that." There's this communication that happens, these protocols that are being sent back and forth for this device or user or service to say, "Yes, this is who I am," and then this resource to verify that okay, you can have access to this resource.
There are a lot of different protocols. The wiki article breaks it up into kind of three sections: point-to-point protocols, AAA protocols, and other. But there are a lot of other protocols; this is just a sample of some of the protocols that are out there. The main ones that we're going to be focusing on here are going to be these protocols that get incorporated actually into a lot of these other types of protocols.
When it comes to authentication, point-to-point can mean a couple of things. One, there's an actual protocol called point-to-point protocol. With this point-to-point protocol, maybe two devices want to speak with each other, or make a connection. This would be an alternative to Ethernet, so this is a layer 2 protocol to establish this link and this connection. Maybe it's router to router, and these routers are going to exchange sensitive routing information, so they're going to connect point-to-point protocol, but before they connect and start exchanging the sensitive information they need to authenticate each other. So they're going to use something like PAP, or CHAP, or maybe it's EAP, to start this communication and authenticate each other before they set up an actual full-on connection.
The other type of point-to-point would just be in the general sense of one machine talking to another machine. Even if it's not directly, maybe it's on a shared network from a layer 2 perspective, but these two machines want to talk with each other. Now they're going to need to use one of these same protocols to do an authentication to verify each other.
AAA protocols serve a little different purpose. Let's say I want to SSH into the router. Many times those router credentials are stored right on the router. But imagine now if I have thousands of routers and I need to remove and add certain users to those routers: this would be a very problematic method. So instead, what I might want to do is authenticate to some sort of database. If there's a database on this back end that's going to be authenticated to, we need a protocol that facilitates this communication right there. That's what AAA protocols are: they facilitate this communication. So the way this would work is I would then SSH into this router, or at least attempt to, and I'd put in my credentials, and this router would send that then to this AAA server, and then respond back and either allow or deny me to get onto that router. So that would be AAA protocols, the purpose for those.
There is this extensive list of authentication protocols, both because we've developed them over time, but there are also different use cases for each one of these. So I'm not going to get into all of these, but just know that this is what authentication protocols are: the protocols that are set up to communicate between two devices for authentication purposes.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →