WebDAV is a very useful tool for sharing files. If you want to have both anonymous access and authenticated access, you require some specific configuration:
The key here is understanding how
LimitExcept can be used.
Limit means that for the given set of requests, process the block.
LimitExcept means that for any other type of request other than those given, process the block. The thing to identify is that
Satisfy any can then be used within a
LimitExcept block to control anonymous access. This can be used, along with typical
Allow from all access controls to provide fine grained access to DAV repositories.
- Apache Core Documentation (
- mod_access Documentation (
Allow from any)
- mod_dav Documentation (
Leave a comment
Please note, comments must be formatted using Markdown. Links can be enclosed in angle brackets, e.g.