Skip to content

Instantly share code, notes, and snippets.

@kirasiris
Created October 23, 2017 14:07
Show Gist options
  • Save kirasiris/c610430072c19ed34cfd01b8bf35df6d to your computer and use it in GitHub Desktop.
Save kirasiris/c610430072c19ed34cfd01b8bf35df6d to your computer and use it in GitHub Desktop.
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "WordPress Admin Access Control"
AuthType Basic
<LIMIT GET>
order deny,allow
deny from all
# whitelist Derian's IP address
allow from xx.xx.xx.xxx
# whitelist Carlos's IP address
allow from xx.xx.xx.xxx
# whitelist Kevin's IP address
allow from xx.xx.xx.xxx
</LIMIT>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment