HTTP Basic Authentication per network

Hi,

is it possible to configure a HTTP Basic Authentication on a per network
base? For example some users coming from an internal/private network are
not required to authenticate with HTTP Basic Authentication, users from
all other (external) networks have to authenticate?

Thanks!
Dan

Posted at Nginx Forum:

On Fri, Jul 23, 2010 at 2:23 PM, daniel-v8 [email protected] wrote:

Hi,

is it possible to configure a HTTP Basic Authentication on a per network
base? For example some users coming from an internal/private network are
not required to authenticate with HTTP Basic Authentication, users from
all other (external) networks have to authenticate?

Thanks!
Dan
Hello!

Yes, it is possible:
http://wiki.nginx.org/NginxHttpCoreModule#satisfy_any


Boris D…

Thanks a lot! Exactly what I was looking for.

Posted at Nginx Forum: