Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: WebDav folder access rights |
|
Author |
|
user55555
Joined: 09 Feb 2015 Posts: 1
|
Posted: Mon 09 Feb '15 23:17 Post subject: WebDav folder access rights |
|
|
I want to grant different access rights for certain folders to a large group of users of my apache WebDav server.
There are access control lists for each folder on the server. Based on the rights in the access control lists the users should only have access to the folders listed in the ACL lists.
In addition to that some users have only "read", some also "write" rights for the folders.
How can I set up the described access rights on my WebDav server?
Thanks! Frank |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 20 May '15 11:07 Post subject: |
|
|
example
Code: |
Alias /share /srv/webdav/share
<Directory /srv/webdav/share/>
# DAV client
DAV On
</Directory>
<Location /share/>
AuthType Basic
AuthName "WebDav share"
AuthUserFile /srv/webdav/webdav.user
# read and write for authenticated user
<Limit GET HEAD OPTIONS PROPFIND>
Require user write_user read_user
</Limit>
# write only for _write_user
<LimitExcept GET HEAD OPTIONS PROPFIND>
Require user write_user
</LimitExcept>
# make it Browser readonly
Options +Indexes
IndexIgnore ..
IndexOptions -IconsAreLinks NameWidth=* FancyIndexing SuppressLastModified FoldersFirst
IndexOrderDefault Ascending Name
</Location>
|
|
|
Back to top |
|
|
|
|
|
|