Forums Register Login

Auth by DIGEST

+Pie Number of slices to send: Send
 

All data between the client and the server is encrypted.



Is the above statement true when you are using DISEST? The answer says it's false. But, according to the servlet spec

Like HTTP Basic Authentication, HTTP Digest Authentication authenticates a user
based on a username and a password. However the authentication is performed by
transmitting the password in an encrypted form which is much more secure than the
simple base64 encoding used by Basic Authentication,

 
+Pie Number of slices to send: Send
i dont think "all" the data between client and server is encrypted. Digest auth just doesnt pass the password as clear text/base64encoded. Quoting the purpose of Digest access authentication as per Section 3.1.1 of RFC 2617


The protocol referred to as "HTTP/1.0" includes the specification for
a Basic Access Authentication scheme[1]. That scheme is not
considered to be a secure method of user authentication, as the user
name and password are passed over the network in an unencrypted form.
This section provides the specification for a scheme that does not
send the password in cleartext, referred to as "Digest Access
Authentication".

The Digest Access Authentication scheme is not intended to be a
complete answer to the need for security in the World Wide Web. This
scheme provides no encryption of message content.
The intent is
simply to create an access authentication method that avoids the most
serious flaws of Basic authentication.



This link contains the RFC
+Pie Number of slices to send: Send
Thanks Nitesh!
He was expelled for perverse baking experiments. This tiny ad is a model student:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 876 times.
Similar Threads
DIGEST
built-in mechanisms of HTTP
Fields in HttpServletRequest
login/password question
Final Mock Test Question 10 Head First and Servlets
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 03:55:09.