Here’s a howto, it is really easy to block ALL ips except your IP to any admin panel.
Don’t worry, if you have a frontend file doing things like : include(‘./admin/functionfile.php’); that will still work 🙂
Here we go, I assume your IP adres is 22.214.171.124 and 456.456.456.456 if you are at two locations ( home and work for instance ).
Keep in mind that a combination with username/password with this htaccess trick is better then rely on only one solution.
There is one major drawback … if you need access to your admin panel FAST and you are not at the IP adresses / locations … you cannot enter the panel unless you have some form of remote desktop / VNC server running….
The code is self explanatary right ?
[code:1:9837b77f9a]deny from all
allow from 126.96.36.199
allow from 456.456.456.456[/code:1:9837b77f9a]