Private AreaI've written a little module for Apache2, called mod_auth_user_dir which checks requested paths against the current username to provide private areas mainly for WebDAV.

The requirement to provide access to certain directories for only one user out of a pool of many possible users currently required me to place a .htaccess file in each directory which only allowed it's owner to access it. With this module a path can be configured where directories named equally to usernames can reside and it will compare the current user with this path and allows access if they match or denies if they don't match (path belongs to an other user).

The source and packages for Debian/Sid can be found at my Wiki:

Don't hesitate to send bugreports and enhancement suggestions as this is the first release. Kudos to Genos for providing a first implementation of this idea which this module is based on.