Welcome Guest, Not a member yet? Register   Sign In
How to prevent a controller to run from web?
#15

[eluser]paulc010[/eluser]
[quote author="mddd" date="1272300352"]
I agree that the most simple and safe way would be to place the 'cronnable' scripts above document root. But you are right, that loses the whole CI idea.
[/quote]

Not sure you understand what I mean. I always move the system and application folders out of the document root, I don't see any reason for them to be there.... it's a fairly trivial change to the index.php file to move them. Cron scripts would also not be in the document root - by definition they aren't intended for public access.

Paul


Messages In This Thread
How to prevent a controller to run from web? - by El Forum - 04-25-2010, 04:14 PM
How to prevent a controller to run from web? - by El Forum - 04-25-2010, 06:29 PM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 12:41 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 01:28 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 01:36 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 01:44 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 01:49 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 01:55 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 01:56 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 02:14 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 02:19 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 02:50 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 05:27 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 05:45 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 06:31 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 06:38 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 06:41 AM
How to prevent a controller to run from web? - by El Forum - 04-26-2010, 08:41 AM
How to prevent a controller to run from web? - by El Forum - 06-06-2010, 01:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB