Overrides the concrete/controllers/login.php to only allow certain IP(s) to access the login page
Copy login.php to controllers/login.php NOT concrete/controllers/login.php
Uncomment and Edit the define for LOGIN_ONLY_IPS, or move it to config/site.php
If the remote IP is not in the list, outputs an Access Denied message instead of the login form
Make sure the Overrides Cache is turned off until you get it working
See the comments for additional/optional customization.
John Steele Steelesoft Consulting
http://steelesoftconsulting.com/ http://steelesoft.net/concrete5