Need .htaccess rule to block /secured/ folder access

Vs Nu

Well-Known Member
Jul 17, 2015
117
7
68
India
cPanel Access Level
Root Administrator
Hello,
I would like to know what is the exact .htaccess rule to block /secured/ folder in all the cPanel accounts if anyone upload it

like i added the following

<FilesMatch "^(fre\.php)">
Order Deny,Allow
Deny from all
</FilesMatch>

in include editor file on apache configuration,It blocks the fre.php file under all the accounts.Like wise i need to block /secured/ folder access
 

Vs Nu

Well-Known Member
Jul 17, 2015
117
7
68
India
cPanel Access Level
Root Administrator
I need to add like an global block in Apache > Include editor configuration

in include editor file on apache configuration,It blocks the fre.php file under all the accounts.Like wise i need to block /secured/ folder access