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:
http://forum.nginx.org/read.php?2,112027,112027#msg-112027

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:
http://forum.nginx.org/read.php?2,112027,112085#msg-112085

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs