[eluser]Brad Martin[/eluser]
Im creating an app that allows site templates to be added to the folder
The views will then be loaded from the application to display the site.
My problem is that i want to be able to block the views for being able to access any models by way of calling the following from the view itself
Code:
$this->load->model('modelName');
or
Code:
$this->modelName->action();
I want to do this so that i can controller what data they have access to for security purposes.
I do however still want them to be able to access all of the other functions within codeigniter just don't want them to be able to gain access to data.
Once I'm able to block out the models from being called i will create a helper functions for them to use that will permit access to only data i wish them to access.
Any help would be much appreciated. Thanks