# Apache AuthBasic but excluding IP

DevFeed: [Apache AuthBasic but excluding IP](<https://devfeed.tech/articles/apache-authbasic-but-excluding-ip-27625.md>)

Original publisher: [Read original article](<https://gagor.pro/2015/12/apache-authbasic-but-excluding-ip/>)

Author: Tom

Published: 2015-12-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Authentication](<https://devfeed.tech/topics/authentication.md>), [passwords](<https://devfeed.tech/topics/passwords.md>)

Tags: [apache](<https://devfeed.tech/tags/apache.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [linux](<https://devfeed.tech/tags/linux.md>), [password](<https://devfeed.tech/tags/password.md>)

## AI overview

An Apache configuration allows a specified IP address to access without a password while requiring HTTP Basic Authentication from other addresses.

## Source excerpt

Allow from IP without password prompt, and also allow from any address with password prompt Order deny,allow Deny from all AuthName "htaccess password prompt" AuthUserFile /web/askapache.com/.htpasswd AuthType Basic Require valid-user Allow from 172.17.10.1 Satisfy Any Sources http://www.askapache.com/htaccess/apache-authentication-in-htaccess.html external link