May 30, 2019 03:51AM
Добрый вечер!

Подскажите пожалуйста есть ли такая возможность и как ещё реализовать?
Задумка такая имеется Nginx 1.16 v расширенный 3 дополнительными модулями nginx-auth-ldap nginx-dav-ext-module nginx-upload-module
При подключении (dav методом) пользователю предоставляется доступ к каталогам, но нужно чтобы к определенным были права только на чтение или вообще ни каких а для других полный доступ.

На пример есть общий каталог ALL на который имеется полный доступ путем dav_access user:rw group:rw all:rw;
В общем каталоге имеется подкаталоги пользователей:
Ivanov к этому каталогу имеет доступ только Ivanov ну хотя бы что бы другие не удаляли ничего
Petrov к этом соответствено так же но для Petrov.
Если ставить условие на доступ к location ngix не принимает запись, как можно сделать проверку?

Good evening!

Please tell me if there is such an opportunity and how else to implement?
This idea is available Nginx 1.16 v extended with 3 additional modules nginx-auth-ldap nginx-dav-ext-module nginx-upload-module
When connecting (by dav method), the user is granted access to directories, but it is necessary that certain have read-only rights or no access at all.

For example, there is a common directory ALL for which there is full access by dav_access user: rw group: rw all: rw;
In the general directory there are subdirectories of users:
Ivanov has access to this directory only Ivanov well, at least so that others would not delete anything
Petrov to this, respectively, as well but for Petrov.
If you set a condition for access to the location, ngix does not accept the record, how can you make a check?
Subject Author Posted

If location

Danila May 29, 2019 10:09AM

Re: If location

Danila May 30, 2019 03:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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