Return to Snippet

Revision: 21671
at December 18, 2009 07:08 by AzizLight

Initial Code
if (!defined('BASEPATH')) exit('No direct script access allowed');

Initial URL

Initial Description
Put this at the top of your CodeIgniter models, controllers, libraries and helpers to restrict direct access to them.

Initial Title
Restrict direct access to a file in a CodeIgniter

Initial Tags
security, codeigniter

Initial Language