Welcome Guest, Not a member yet? Register   Sign In
Restrict access to controller
#1

(This post was last modified: 11-23-2016, 04:46 AM by JackWhite.)

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 Sad

How can I restrict access to controller?

I hope somebody can point me in the right direction.

Best regards.
Reply


Messages In This Thread
Restrict access to controller - by JackWhite - 11-23-2016, 04:35 AM
RE: Restrict access to controller - by InsiteFX - 11-23-2016, 04:59 AM
RE: Restrict access to controller - by JackWhite - 11-24-2016, 12:14 AM
RE: Restrict access to controller - by salain - 11-24-2016, 12:49 AM
RE: Restrict access to controller - by JackWhite - 11-25-2016, 02:33 AM
RE: Restrict access to controller - by salain - 11-25-2016, 03:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB