Revision: 20877
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 29, 2009 02:12 by traeregan
Initial Code
1.) $this->load->library('user_agent'); if( $this->agent->is_browser() or $this->agent->is_robot() or $this->agent->is_mobile()): exit('You may not access this file.'); endif; 2.) if($this->session->userdata('ip_address') != $this->input->server('SERVER_ADDR')) { die(); }
Initial URL
Initial Description
Initial Title
Prevent Public Access to CRON Job Scripts in CodeIgniter
Initial Tags
codeigniter
Initial Language
PHP