Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In IIS, (virtual) folder permissions can be set to NTFS ACLs on the folder so that filesystem permissions become prominent on the web. In that way it becomes relatively trivial to set up a site where everyone has read but only a select few have write (WebDAV) access.

What I would like to do is mimic that functionality on Linux; basically I have a user database (accessible via LDAP) and a set of folders (let's call them "sites") which need to be accessible by, or have a subfolder accessible by anyone on the web - but at the same time there needs to be WebDAV folders available for each so that certain users/groups can upload and download content from their site. I also need to be able to add sites dynamically but I suspect that can be worked out once a solution is found for the other issue.

Ideally all of this would be done in lightpd or nginx purely due to their memory footprint, but apache isnt out of the question if it comes to that.

Honesty, I realize that there's probably a very simple solution to this, but I just don't feel comfortable enough with the Linux server world to guess what it is. We (most unfortunately) depend on windows / iis at work which is probably half of whats doing my head in.

share|improve this question

I've never seen this done in production - Normally you would set up a Wiki or Sharepoint-like site for this purpose and manage permissions using that software.

You can probably do something like this with plain vanilla Apache if you authenticate your users using mod_auth_ldap and set permission for them with mod_dav (you pretty much have to <Limit> each WebDAV method individually and list the users/groups allowed to use them).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.