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
WebDAV multiple users
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: WebDAV multiple users
After some more reading I have the following question: Given the following virtual host configuration...
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
But should never be able to traverse into others, such as:
Make sense? What am I missing?
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>Basically each authenticated user should have read/write access to their directory
Code: Select all
user.domain.comCode: Select all
user2.domain.com