Welcome Guest, Not a member yet? Register   Sign In
Hiding Views
#1

[eluser]jordanarseno[/eluser]
Hello all,

I've recently implemented a Controller, MY_Admin_Controller which will be the parent Controller for all admin sections of my site.

To load a specific admin view, In my Admin Controller I'm calling:
Code:
$this-load->view('admin_view');

This is all fine, because I have the logic built so that only users who are set as administrators in the database can access this area.

However, it does not stop the circumvention of pointing your browser to:
http://localhost/Project_Name/applicatio...n_view.php

How can I ensure that this area is kept locked down when requested explicitly in the URL?

Does CodeIgniter have built in functions or configuration settings that will allow me to block all views unless called from a controller?


Messages In This Thread
Hiding Views - by El Forum - 11-05-2010, 12:29 PM
Hiding Views - by El Forum - 11-05-2010, 01:26 PM
Hiding Views - by El Forum - 11-05-2010, 02:19 PM
Hiding Views - by El Forum - 11-05-2010, 04:13 PM
Hiding Views - by El Forum - 11-05-2010, 05:21 PM
Hiding Views - by El Forum - 11-06-2010, 02:10 AM
Hiding Views - by El Forum - 11-10-2010, 02:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB