Security of $_SESSION array

前端 未结 6 1447
囚心锁ツ
囚心锁ツ 2021-01-01 01:52

When a low-privilege non-administrator user logs into my web app successfully, I am storing the following data in the $_SESSION array:

$_SESSION         


        
6条回答
  •  北海茫月
    2021-01-01 02:29

    If you don't provide such access in your script there isn't much users can do about that. So your session data should be pretty secure. The only thing user can do is to manipulate session cookie or session id passed in the URL but it's unlikely that he will find an existing session id of another user.

提交回复
热议问题