This article states that
If your site is run on a shared Web server, be aware that any session variables can easily be viewed by any other users on the same server.
On a larger host like GoDaddy, are there really no protections in place against this? Could it really be that easy? If it is that easy, where are the session vars of the other users on my host so I can check them out?
It is ridiculously easy because by default php.ini#session.save_path
points to /tmp
on Linux installs and similar for Windows. This is bad because most users have read and write privileges to /tmp
because they need them. You can protect against this by storing your sesion state in the database or by changing were your PHP application stores it's session files, using session_save_path