Re: user auth

From: Date: Fri, 31 May 2002 04:07:12 +0000
Subject: Re: user auth
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100049@lists.php.net to get a copy of this message
On Thu, 30 May 2002, Justin Blake wrote: > I will soon be developing a user authentication system with different > access levels. I will need to check the users against a mysql database. > How secure is checking for a session var, and then redirecting with > header('Location:...') ? Is there a way to get around this method of > protection? That's the worst security scheme I've ever heard of. Anyone can just look at where the redirect points to and go there. You should keep the session active throughout your secured area and check against a session variable at the top of each page. miguel

« previous php.general (#100049) next »