on to its own copy of the user's password and checks for a match. As a result, the password need not be sent in the clear.
The protocol uses several techniques to restrict the scope of a transaction. First, the specification recommends that the nonce should include the client's IP address and a time stamp. The IP address helps prevent a man-in-the-middle attack by forcing an attacker to spoof the IP address of the original client. The ti
me stamp limits the period during which such an attack might be tried. Second, the digest that the client sends back to the server is based in part on the URL it originally requested. If an interloper alters that URL, the digest computed by the server won't match the one computed by the client.
Couldn't a rogue server use a constant challenge, as with NTLM authentication, to mount a dictionary attack? Yes. The digest method is inherently better than the NTLM method, because it seeks to limit the scope of transactions and it doesn't permit the invisible handshake that Internet Information Server (IIS)and Internet Explorer currently perform. But the authors of RFC2069 are candid about the uses and limitations of digest authentication:
"Users and implementers should be aware that this protocol is not as secure as Kerberos and not as secure as any client-side private-key scheme. But it is better than nothing, better than what is commonly used with telnet and FTP, and better than basic authentication."
screen_link (15 Kbytes)

The familiar user/password dialog box.