Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using php session is not 100% secure on shared hosting?

Featured Replies

Hello friends,

I just read in another forum where it was mentioned that using php session is not 100% secure on shared hosting or when u have other websites on the same server ?

How true is that?

Hello friends,

I just read in another forum where it was mentioned that using php session is not 100% secure on shared hosting or when u have other websites on the same server ?

How true is that?

 

Its not secure on any server, Use SSL.

Shaun you just made me lol my guts up :)

 

"Its not secure on any server"

 

ok How to secure a session if your a cheap skate/skint and cant afford at least a VPS

 

http://www.php.net/manual/en/function.session-save-path.php

 

Use a folder in your account and hopefully your host isn’t totally stupid and set the box up right.

Edited by SniderDK

Er .............. :)

 

I know you can save the sessions to database and an internal folder of your choice, I should of explained more, sessions can be hijacked and sniffed, the only fool proof way I know is using SSL, If Im wrong please correct me :)

You are right, SSL Secures them between the client and the server, but the OP was specifically wanting to know about sessions on a shared hosting, where all sessions by default go in the temp folder and can be accessed by any account, then hijacked. In that instance, SSL is useless. I think you just needed to clarify what you meant :)

You are right, SSL Secures them between the client and the server, but the OP was specifically wanting to know about sessions on a shared hosting, where all sessions by default go in the temp folder and can be accessed by any account, then hijacked. In that instance, SSL is useless. I think you just needed to clarify what you meant :)

 

Ahh yes, I was in a rush last night :) sorry, Yh they are right the most affective way is to store sessions to database using the session_set_save_handler located: http://my.php.net/session_set_save_handler, Although file is OK I personaly prefer db.

Yes...and was linked to above by SniderDK :rolleyes:

 

 

Oooops! Sorry, I totally missed that. Should I edit the post / report it to be deleted?

Edited by tango

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.