Hello!
I need to restrict access to a controller.
I have tried placing a .htaccess file inside the controllers directory with code like this:
Code:
<FilesMatch "config\.php|function\.php|include\.php">
Order allow,deny
Deny from all
</FilesMatch>
But it doesn't seem to work
How can I restrict access to controller?
I hope somebody can point me in the right direction.
Best regards.