[eluser]vanzl[/eluser]
Is redirecting secure way to prevent non logged in users to acces parts of your page?
In most examples i've seen something like this:
Code:
class Admin extends Controller{
function admin(){
parent::controller();
if (!$this->auth->logged_in()){
redirect('somewhere');
}
}
}
I guess my question is: can a potential hacker somehow avoid the redirect and still access admin functions?