Deny dirrect access to a controller... |
[eluser]rvent[/eluser]
Hello, I was wondering how can i deny direct access to a controller so users cant just do: http://domain.com/control_pannel/ I have written a library that uses LDAP to authenticate to Active directory and want to be able to redirect an authenticated user to a different controller, but i dont want them to be able to type the full address in the address bar and gain access... Any ideas...? some CI file have: if ( ! defined('BASEPATH')) exit('No direct script access allowed'); But i dont think that's what i am looking for... Thanks.. |
Messages In This Thread |
Deny dirrect access to a controller... - by El Forum - 02-05-2009, 11:46 AM
Deny dirrect access to a controller... - by El Forum - 02-05-2009, 11:58 AM
Deny dirrect access to a controller... - by El Forum - 02-05-2009, 12:09 PM
Deny dirrect access to a controller... - by El Forum - 02-05-2009, 12:38 PM
Deny dirrect access to a controller... - by El Forum - 02-05-2009, 12:44 PM
Deny dirrect access to a controller... - by El Forum - 02-05-2009, 01:02 PM
Deny dirrect access to a controller... - by El Forum - 02-05-2009, 01:11 PM
Deny dirrect access to a controller... - by El Forum - 02-05-2009, 02:17 PM
|