Direct access to views

#4
[eluser]xwero[/eluser]
This is possible if you allow the view file as a stand alone file which is the case on most servers but you could set server restrictions in the .htaccess or the webserver configuration or you can add following line to the beginning of each view file
Code:
if (!defined('BASEPATH')) exit('No direct script access allowed');


Messages In This Thread
Direct access to views - by El Forum - 03-17-2008, 04:40 AM
Direct access to views - by El Forum - 03-17-2008, 07:54 AM
Direct access to views - by El Forum - 03-17-2008, 08:07 AM
Direct access to views - by El Forum - 03-17-2008, 08:18 AM
Direct access to views - by El Forum - 03-17-2008, 08:30 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.