Page 1 of 1

WebDAV multiple users

Posted: Thu Dec 25, 2008 2:30 am
by alex.barylski
I've been reading up on WebDAV lately but still confused as to it's limits.

I was looking for a way to offer remote storage for clients, using either FTP or DAV -- the latter of which I want.

I need to support unlimited users (preferably driven from mysql) and each user should be assigned a quota limit and be restricted to essentially their own 'share'.

I cannot figure out how this is done using WebDAV or if it's even possible.

I have seen several examples of a single dav share pointing to a single directory using virtual hosts, etc...not quite what I need.

Hopefully this is clear and someone can shed some light on the subject for me...

Cheers,
Alex

Re: WebDAV multiple users

Posted: Thu Dec 25, 2008 3:25 am
by alex.barylski
After some more reading I have the following question: Given the following virtual host configuration...

Code: Select all

  Port 80
    ServerName server.domain.tld
 
    NameVirtualHost 111.22.33.44 
 
    <VirtualHost 111.22.33.44>
    DocumentRoot /www/domain
    ServerName http://www.domain.tld
    ...
    </VirtualHost>
    
    <VirtualHost 111.22.33.44>
    DocumentRoot /www/subdomain
    ServerName http://www.sub.domain.tld
    ...
    </VirtualHost>
Would adding the WebDAV directive to "each" virtual host directive limit the WebDAV resources to each virtual host?

Basically each authenticated user should have read/write access to their directory

Code: Select all

 
user.domain.com
But should never be able to traverse into others, such as:

Code: Select all

user2.domain.com
Make sense? What am I missing?