Htaccess with password exception?

My goal is to edit my .htaccess file to require a user/password combination for all connections except a single IP.

My current htaccess file requires a password from all connections and is this:


AuthType Basic
AuthName "dev"
AuthUserFile "/home/ddragon/.htpasswds/public_html/passwd"
require valid-user

How can I allow 1 IP to bypass the user/pass requirement?

I’ve tried this:


AuthType Basic
AuthName "dev"
AuthUserFile "/home/ddragon/.htpasswds/public_html/passwd"
require valid-user
Allow from <<removed>>
Satisfy Any

but no luck.

Any help is really appreciated!

Looks like I was missing a few lines.

This works:



AuthType Basic
AuthName "dev"
AuthUserFile "/home/[COLOR=#464646]ddragon[/COLOR]/.htpasswds/public_html/passwd"
require valid-user
Order deny,allow
Deny from all
Allow from <<removed>>
Satisfy Any