Welcome! Log In Create A New Profile

Advanced

Re: [SHOW'N'TELL] Primitive RBAC/AAA implementation in nginx config

Jonathan Matthews
February 26, 2014 03:24PM
On 26 Feb 2014 12:05, "Jonathan Matthews" <contact@jpluscplusm.com> wrote:
>
> Hi all -
>
> I spent some time poking at a interesting problem that came up last
> night, and ended up with this primitive RBAC system, implemented in
> declarative nginx config.

Thanks to the couple of people who reminded me this may not be a
frequently-used term on this list :-)

Role Based Access Control systems are a technique for limiting access to
resources based on people belonging to groups (roles) and not being granted
access individually: https://en.wikipedia.org/wiki/Role-based_access_control

In this case, the resources are URIs, potentially proxy_pass'd, and the
users are HTTP basic auth users. My implementation is nothing special, but
I'd not seen a reasonably scalable one implemented purely in declarative
nginx configuration syntax before :-)

Anyway, tell me why it sucks ... https://gist.github.com/jpluscplusm/9227777

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

[SHOW'N'TELL] Primitive RBAC/AAA implementation in nginx config

Jonathan Matthews February 26, 2014 07:14AM

Re: [SHOW'N'TELL] Primitive RBAC/AAA implementation in nginx config

Jonathan Matthews February 26, 2014 03:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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