jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Chroot webdav per user
Date Fri, 02 Jul 2010 11:31:28 GMT

On Thu, Jul 1, 2010 at 2:59 PM, Norman Maurer <norman@apache.org> wrote:
> is it somehow possible to chroot to a dynamic node when a user login
> via webdav ?

Not by default.

The easiest first approach to add a feature like this would probably
be to add a custom Filter (or even a mod_rewrite rule if you're
working behind an httpd proxy) that takes the authenticated username
and uses that to redirect rewrite the request path. That'll however
not work with requests like PROPFIND or COPY where resource paths are
included in other places than just the request URI.

A more complete solution would probably need to be built into the
WebDAV handling code in Jackrabbit. You may want to file a feature
request for that.

On the other hand, is there a reason why you wouldn't want the
per-user path included in the URI? Think of a normal Unix file system
where all user homes are at /home/$user instead of at /, and access
controls are used to manage read and write access to different parts
of the system.


Jukka Zitting

View raw message