How to block access to a specific folder?
To block all access to a specific folder in your account, you should add this rule to the .htaccess file in that folder:
Deny from all
If the .htaccess file does not exist, you can easily create it from your cPanel > File Manager.
To allow access again, simply delete or comment the above rule.
You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!