Secure way to handle pw on session.

From: Date: Tue, 02 Sep 2008 19:27:50 +0000
Subject: Secure way to handle pw on session.
Groups: php.general 
Request: Send a blank email to php-general+get-279328@lists.php.net to get a copy of this message
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 = -- Powered by Outblaze

« previous php.general (#279328) next »