Welcome! Log In Create A New Profile

Advanced

Re: Our nginx module development roadmap (draft)

agentzh
November 27, 2010 07:38AM
On Sat, Nov 27, 2010 at 8:33 PM, Delta Yeh <delta.yeh@gmail.com> wrote:
> Can we use ngx_lua to do access control? security check ?
>  I mean  some feature of mod_security.
>

We're already using ngx_lua to do most of the access control in
production (the other part is done by iptables for sure ;)).

There's mainly 3 ways:

1. Use set_by_lua directly, combined with the standard ngx_rewrite
module if your checking logic does not require network I/O.

2. Use Maxim Dounin's ngx_http_auth_request module to issue a
subrequest to a location configured by "content_by_lua" if your checks
require I/O.

3. If your content handler is already content_by_lua, just use normal
Lua code to do access control there.

Cheers,
-agentzh

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

Our nginx module development roadmap (draft)

agentzh 3273 November 26, 2010 05:10AM

Re: Our nginx module development roadmap (draft)

Mr.Hien 1699 November 26, 2010 06:46AM

Re: Our nginx module development roadmap (draft)

mike 1521 November 26, 2010 06:54AM

Re: Our nginx module development roadmap (draft)

agentzh 1101 November 27, 2010 04:30AM

Re: Our nginx module development roadmap (draft)

mike 1612 November 27, 2010 04:58AM

Re: Our nginx module development roadmap (draft)

agentzh 1168 November 27, 2010 06:56AM

Re: Our nginx module development roadmap (draft)

deltay 1236 November 27, 2010 12:52AM

Re: Our nginx module development roadmap (draft)

agentzh 1044 November 27, 2010 04:04AM

Re: Our nginx module development roadmap (draft)

deltay 1187 November 27, 2010 07:08AM

Re: Our nginx module development roadmap (draft)

agentzh 1051 November 27, 2010 07:20AM

Re: Our nginx module development roadmap (draft)

deltay 1344 November 27, 2010 07:34AM

Re: Our nginx module development roadmap (draft)

agentzh 1062 November 27, 2010 07:38AM

Re: Our nginx module development roadmap (draft)

deltay 1173 November 27, 2010 07:54AM

Re: Our nginx module development roadmap (draft)

agentzh 1259 November 27, 2010 08:38AM

Re: Our nginx module development roadmap (draft)

Weibin Yao 1155 November 28, 2010 09:44PM

Re: Our nginx module development roadmap (draft)

deltay 1522 May 29, 2011 12:52PM

Re: Our nginx module development roadmap (draft)

agentzh 993 May 30, 2011 01:42AM

Re: Our nginx module development roadmap (draft)

deltay 1481 May 30, 2011 05:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 121
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready