Re: Secure way to handle pw on session.

From: Date: Tue, 02 Sep 2008 19:45:24 +0000
Subject: Re: Secure way to handle pw on session.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-279334@lists.php.net to get a copy of this message
Take a look at this: http://us2.php.net/manual/en/function.session-save-path.php Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com k bah wrote: > Hi, > > I noticed session files are kept on /tmp for a while, and even if they were immediately > deleted, well, someone could use one of my php scripts to inject code and read them, since they > belong to the httpd user. > What's the best way to receive passwords thru a form and store them in the $_SESSION > while I process other information to decide whether or not that user is able to proceed and login > (check to see if user is also allowed to use that service, not just validate user/pw)? I use https, > always, no plain http is used. > > Thanks > > = > > >

« previous php.general (#279334) next »