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 184.108.40.206 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 220.127.116.11
allow from 456.456.456.456[/code:1:9837b77f9a]