How to further secure directories on your site?

A quick way of securing directories that you don't need for direct access is by placing a .htaccess file with this code in it:

Order Deny, Allow
Deny from All

The administrator/backups folder is one of the folders you can use to secure with the above code, since you can use a ftp client to download the backups from it.

If you would like to restrict access to only your ip address, use this code:

Order Deny, Allow
Deny from All
Allow from my_ip

We all know spams are a big issues these days, specially spam bots, if you have identified them, and you have their ip address, you can block them from your site with this code placed inside the site root .htaccess file:

Order Allow, Deny
Allow from All
Deny from ip1
Deny from ip2

Here is a nice guide for a further reading on .htaccess protection.

0 responses so far. Leave a Comment

Quick contact

place

Hi there, my name is Ovidiu Liuta and i support the XCloner! project
XCloner is a Joomla backup component, Wordpress backup plugin and Free website backup tool.
Contact me here!

About company

XCloner.com is a dynamic company focusing on providing backup and recovery solutions for small to medium websites.
We are based in Romania and offer 24/7 support through forums and our private ticket system for Premium users support.

© 2019 XCloner – Website Backup and Restore made simple
All Rights Reserved | Privacy Policy