Welcome! Log In Create A New Profile

Advanced

Re: WebDAV and anonymous+authenticated access

Francis Daly
September 22, 2019 12:14PM
On Sun, Sep 22, 2019 at 01:42:36PM +0100, Francis Daly wrote:
> On Sun, Sep 22, 2019 at 12:39:37PM +0200, Marc wrote:

Hi there,

> Untested suggestions...

and one more, also untested...

> > Is it possible to setup nginx so that it shares a directory via WebDAV
> > which would have read+write access for authenticated users and simple
> > read access for non-authenticated/guest/anonymous users ?

http://nginx.org/en/docs/http/ngx_http_dav_module.html includes an
example configuration that includes "limit_except GET {".

Would something like that work for you?

Require authorization for any method other than GET -- GET is probably
read-only, and anything else is possibly read-write.

(You may need to investigate whether OPTIONS needs to be allowed in the
same way as GET.)

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

WebDAV and anonymous+authenticated access

gerard2019 September 22, 2019 06:40AM

Re: WebDAV and anonymous+authenticated access

Francis Daly September 22, 2019 08:44AM

Re: WebDAV and anonymous+authenticated access

Francis Daly September 22, 2019 12:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 251
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready