Welcome! Log In Create A New Profile

Advanced

Re: Per user webdav access to their home directories ?

Francis Daly
April 23, 2012 07:32AM
On Mon, Apr 23, 2012 at 09:50:26AM +0200, Frank Bonnet wrote:

Hi there,

> Setup a PERSONAL webdav access to our users, that is giving
> access to their unix home directories thru a secure webdav.
>
> If I understand well the main problem is the httpd process
> has to switch to the user's identity after authentication ( LDAP )
> to let him have RW access to his workspace.

Untested; but I would suggest running one webdav instance per user,
under that userid.

Then run one "public" web server, which checks identity and does a
proxy_pass or something similar to the correct webdav instance.

That way the httpd process doesn't have to care about switching
identities; it just acts as a client to another service which has the
right identity already.

(Depending on how you choose to deploy the webdav server, it may
be pure-nginx, or it may include something like a separate fastcgi
server. The userid of whatever process is accessing the files will need
to be correct.)

> Is it possible with the nginx beast ?
> If yes, links to documentation would be welcome !

You can "listen" on a unix:path, and you can "proxy_pass" to that
path, choosing which one to used based on a variable set based on the
authenticated user.

So after you have webdav access as a single user working, you just repeat
that setup.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Per user webdav access to their home directories ?

Frank Bonnet April 23, 2012 03:52AM

Re: Per user webdav access to their home directories ?

Francis Daly April 23, 2012 07:32AM

Re: Per user webdav access to their home directories ?

Ed W April 23, 2012 09:54AM

Re: Per user webdav access to their home directories ?

Frank Bonnet April 23, 2012 10:32AM

Re: Per user webdav access to their home directories ?

Frank Bonnet April 24, 2012 07:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
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