apache_2fa icon indicating copy to clipboard operation
apache_2fa copied to clipboard

Question -Bypassing Authentication For A Given IP Range

Open kevin-webster opened this issue 6 years ago • 1 comments

Using the Apache 2FA authentication method, how can I bypass authentication for an IP address range? The idea being that any external requests coming in via the internet are always required to authenticate but requests coming from within our company network will not be authenticated.

kevin-webster avatar Jul 04 '19 09:07 kevin-webster

I think RequieAny on a directory and have both Require valid-user and Require ip ... in it. Then if ip matches valid user will not be required any more.

tenox7 avatar Aug 03 '21 05:08 tenox7