note 45733 deleted from function.session-save-path by cmb
| From: | cmb@php.net | Date: | Thu, 18 Apr 2019 06:33:16 +0000 |
| Subject: | note 45733 deleted from function.session-save-path by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210615@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster at gardenchemicals dot co dot uk
----
This is an absolute must if you have an important login on a shared server. Without it, other users
of the server can do the following to bypass login:
* Visit login page, browse through cookies and grab the session id.
* Create a PHP script on their account that grabs and sets session variables for a given session id.
* Read and change any values for that session id (for example passwords or session keys), and
therefore gain access to the protected area.
All users on web hosting should choose an dir below the HTTP directory struct, but within their user
area to store the session files.