Mobile app version of vmapp.org
Login or Join
Pierce454

: 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

@Pierce454

Posted in: #Authentication

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

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Pierce454

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

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>

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme