Log in

View Full Version : Restrict access to admincp via .htacess file


birdie
05-11-2011, 07:47 AM
I have had enough with a couple of hacks and more attempts. I want to restrict ftp access and admncp access via the .htacess file to only my IP address (will have to remember to remove it when I go on holiday).

I searched for a while, but can not find the correct format for this.

I know that this will restrict acess to the index page

<Files index.php>
Order Deny,Allow
Deny from all
Allow from localhost
Allow from 00.111.22.123
</Files>

How do I format it for just the admincp folder?

How do I restrict ftp access to just my IP?

MagicThemeParks
05-11-2011, 09:30 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=232303" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=232303</a>