: Digest Authentication - how is it used? I understand a bit about digest authentication from here http://en.wikipedia.org/wiki/Digest_access_authentication, but I am pretty unclear on where, when or
I understand a bit about digest authentication from here en.wikipedia.org/wiki/Digest_access_authentication, but I am pretty unclear on where, when or how it is used. I can't find anything on that side of it.
Where, when and why would a webmaster use it? Does it require any extra code on a site if the server has it implemented?
As you can see, I pretty much in the dark about how it is used, so any info would be helpful.
Maybe this could become a FAQ
More posts by @Pierce454
1 Comments
Sorted by latest first Latest Oldest Best
Apache server has mod_auth-digest that implements it. It is more secure than basic authentication and can be used in place of it.
From the documentation:
Using MD5 Digest authentication is very simple. Simply set up authentication normally, using AuthType Digest and AuthDigestProvider instead of the normal AuthType Basic and AuthBasicProvider. Then add a AuthDigestDomain directive containing at least the root URI(s) for this protection space.
Appropriate user (text) files can be created using the htdigest tool.
Example:
<Location /private/>
AuthType Digest
AuthName "private area"
AuthDigestDomain /private/ mirror.my.dom/private2/
AuthDigestProvider file
AuthUserFile /web/auth/.digest_pw
Require valid-user
</Location>
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.