Content deleted Content added
Add text on trade-offs between PPP/PAP and password storage methods. |
m Removed a redundant link and fixed grammar |
||
(6 intermediate revisions by 6 users not shown) | |||
Line 1:
'''Password Authentication Protocol''' ('''PAP''') is a [[password]]-based [[authentication protocol]] used by [[Point
Almost all [[network operating system]]s support PPP with PAP, as do most [[network access server]]s.
As the [[Point
When PAP is used in PPP, it is considered a weak authentication scheme.
PAP is also used to describe password authentication in other protocols such as [[RADIUS]] and [[Diameter (protocol)|Diameter]]. However, those protocols provide for transport or network layer security, and
▲PAP is also used to describe password authentication in other protocols such as [[RADIUS]] and [[Diameter]]. However, those protocols provide for transport or network layer security, and this do not have the security issues seen when PAP is used with PPP.
When the client sends a clear-text password, the authentication server will receive it, and compare it to a "known good" password. Since the authentication server has received the password in clear-text, the [[Password#
▲===Benefits of PAP===
▲When the client sends a clear-text password, the authentication server will receive it, and compare it to a "known good" password. Since the authentication server has received the password in clear-text, the [[Password#Form_of_stored_passwords|format of the stored password]] can be chosen to be secure "at rest". If an attacker were to steal the entire database of passwords, it is computationally infeasible to reverse the function to recover a plaintext password.
As a result, while PAP passwords are less secure when sent over a PPP link, they allow for more secure storage "at rest" than with other methods such as [[Challenge-handshake authentication protocol|CHAP]].
==Working cycle==
PAP authentication is only done at the time of the initial link establishment, and verifies the identity of the client using a [[
#Client sends username and password. This is sent repeatedly until a response is received from the server.
#Server sends authentication-ack (if credentials are OK) or authentication-nak (otherwise)<ref name="Forouzan2007">{{cite book|author=Forouzan|title=Data Commn & Networking 4E Sie|url=https://books.google.com/books?id=6HaNKmfBK1oC&pg=PA352|accessdate=24 November 2012|year=2007|publisher=McGraw-Hill Education (India) Pvt Limited|isbn=978-0-07-063414-5|pages=352–}}</ref>
==PAP
{| class="wikitable"
!
Description
Line 66 ⟶ 63:
C023 (hex).
{| class="wikitable"
!Flag
!Address
Line 77 ⟶ 73:
==See also==
* SAP
==Notes==
Line 87 ⟶ 83:
{{Authentication APIs}}
[[Category:Password authentication]]
[[Category:Internet protocols]]
[[Category:Authentication protocols]]
|