Restrict access to admincp via .htacess file
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?
|