Welcome Guest, Not a member yet? Register   Sign In
How to block URL access to the controller
#6

[eluser]flacznik[/eluser]
Maybe the best idea is just to put the following code inside the controllers folder:

Code:
<Files ~ "\.(htaccess|php)$">
order allow,deny
deny from all
</Files>

like that we can be sure that the controller can be reached only by application CI. What do you think??


Messages In This Thread
How to block URL access to the controller - by El Forum - 05-20-2013, 05:29 PM
How to block URL access to the controller - by El Forum - 05-21-2013, 11:59 AM
How to block URL access to the controller - by El Forum - 05-21-2013, 01:05 PM
How to block URL access to the controller - by El Forum - 05-21-2013, 02:19 PM
How to block URL access to the controller - by El Forum - 05-21-2013, 03:43 PM
How to block URL access to the controller - by El Forum - 05-21-2013, 05:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB