Content

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.

Was this article helpful to you?

Obaydullah Likhon

Leave a Reply