jcampbell1 / simple-file-manager

A Simple PHP file manager. The code is a single php file.
MIT License
914 stars 502 forks source link

Option to allow session isolation if installed in multiple sub directories #117

Open hakakou opened 3 years ago

hakakou commented 3 years ago

Added an option to create the session cookies under a specific path, instead of the default '/'. This allows multiple installations in many subfolders under the same domain. For example:

If not set, then if using a $PASSWORD and logging into simple-file-manager in the first subdirectory, makes the second subdirectory automatically accessible! This could be a major security risk.