Go Back   Velocity Reviews > Newsgroups > MCSE
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

MCSE - Somewhat OT: HTTP Authentication - Digest

 
Thread Tools Search this Thread
Old 10-24-2003, 02:33 PM   #1
Default Somewhat OT: HTTP Authentication - Digest


Not something an mcse absolutely has to know, but someone complained that
there aren't any useful discussions here:

I had a discussion yesterday with a friend about digest http authentication,
what are your thoughts?

A webserver serving a protected document using the digest method answers
initial client requests with a 401 but includes an authentication challenge.
The server generated 401 includes in the header a nonce, a random value.
This nonce is then encrypted along with the client's user name and password
(as well as some other data) and sent back to the server. The original nonce
is also sent back.

The server will then compare the client generated hash value with it's own
calculated value.

Question: In that calculation, does the server use the nonce sent back by
the client or does it *remember* the nonce value it originally sent? The
point why I ask, that would make it a stateful protocol..

If the server does not remember the original nonce value, then the purpose
of the nonce is simply to enable the client to send a different hash value
with every request, even if the same URL is requested over and over again.
That's a good reason for it to exist, but then why does the server generate
and send it in the first place? The client could just generate the nonce
itself..

If the server does remember, it would enable the server to control the
maximum time the client has to authenticate, among other stuff..

Some of those goals are mentioned in RFC 2617 but to us it was not clear if
those requests are realized in http 1.0..





EJ
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[liveupdate] Digest Number 47 Ablang DVD Video 0 08-14-2004 03:29 AM
Digital DIGEST - LIVE UPDATE Issue 40 Ablang DVD Video 0 12-15-2003 02:45 PM
Digital DIGEST - LIVE UPDATE Issue 39 Ablang DVD Video 0 11-29-2003 02:17 AM
DIGITAL DIGEST | LIVE UPDATE Issue 37 Ablang-Duff DVD Video 0 09-07-2003 05:24 AM
[liveupdate] Digest Number 29 Ablang DVD Video 0 07-05-2003 01:55 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46