Prevent hackers to enter you admin panel
Posted: 09 Jan 2012, 05:41
I have an easy solution, That prevents hackers to enter your admin panel.
Just make an .httacces into the 'adm' folder
if you have more then 1 admin:
Now when you try to enter the admin panel you will get an error page if your ip addresses is not in that list.
The only problem is, when you have a dynamic ip adres you need to change the address into the .htacces file every time it changes. Otherwise you can't get into your own admin panel
Just make an .httacces into the 'adm' folder
Code: Select all
<limit GET>
order deny,allow
deny from all
allow from IP address Here
</limit>
Code: Select all
<limit GET>
order deny,allow
deny from all
allow from IP address Here
allow from IP address Here
</limit>
The only problem is, when you have a dynamic ip adres you need to change the address into the .htacces file every time it changes. Otherwise you can't get into your own admin panel
This is not my code! I found this on google. And wanted to share with all of you