Re: user auth

From: Date: Fri, 31 May 2002 03:55:09 +0000
Subject: Re: user auth
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100048@lists.php.net to get a copy of this message
On Thu, May 30, 2002 at 11:46:29PM -0400, 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? I'm no expert on this but I don't think session in PHP them selves have any security embedded in it by them selves, you could just try to do a bruteforce attack on sessionIDs (good luck :). But what you yourself could do is keep track of eg. the IP adress of the user and check if it doesn't change... if it does then maybe someone is trying something fishy. -- Daniel Tryba

« previous php.general (#100048) next »