Skip to content

Instantly share code, notes, and snippets.

@shabbirbhimani
Created November 20, 2017 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shabbirbhimani/25b9ae600bdceca037100830f722d0e0 to your computer and use it in GitHub Desktop.
Save shabbirbhimani/25b9ae600bdceca037100830f722d0e0 to your computer and use it in GitHub Desktop.
IP Restriction for admin.php
<Files admin.php>
Order Deny,Allow
Deny from all
Allow from XX.XX.XX.XX
Allow from YY.YY.YY.YY
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment