Mac OS X Server 10.2.4 or Later: How to Enable Integrated WebDAV Digest Authentication

With Mac OS X Server 10.2.4 or later, you may enable digest authentication for Web service. This document explains how.
Enabling integrated WebDAV digest authentication

To use digest authentication for an existing WebDAV realm, you need to enable mod_digest_apple and change your virtual host configuration directives to use digest authentication instead of basic authentication.

Prior to version 10.2.4 of Mac OS X Server, you also needed to maintain a separate digest file containing a list of authorized users, passwords, and realms. This separate file is no longer necessary.

The new mod_digest_apple module first checks for users in a specified digest file. If the file is absent or unspecified, or if the user name and password fail to authenticate successfully against that file, the module tries to use Open Directory for user authentication. Open Directory users must be set up for password validation using Open Directory Password Server.

This approach applies to WebDAV authentication (called "author" access in Server Settings); it does not apply to access to Web pages via a browser (called "browse" access in Server Settings).

The Apple digest module is included in the standard installation of Mac OS X Server 10.2.4, but is disabled by default.

Follow these steps to enable mod_digest_apple:

The changes take effect when you restart Web service.

Any new virtual hosts you create using Server Settings are configured to use basic authentication by default. You will need to make the changes described above if you want to use digest authentication.

Starting with Mac OS X 10.2, the Finder issues a warning about clear-text passwords when a user tries to connect to a WebDAV server with basic rather than digest authentication. This warning should no longer appear when the server is configured for digest authentication.

Note: Some WebDAV clients do not use digest authentication. For example, Goliath 1.0 requires basic authentication.
Published Date: Oct 7, 2016