OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Do we need encrypt session id before saving it into database

  • Thread starter Thread starter LHA
  • Start date Start date
L

LHA

Guest
I want to use a database for session storage and have designed a simple table containing three columns: SessionID, Key, and Value, with SessionID and Key serving as the primary keys.

My question is: Should I encrypt the user's SessionID before storing it in the table? In my opinion, I should, because it prevents someone with database access from viewing active session IDs.
<p>I want to use a database for session storage and have designed a simple table containing three columns: SessionID, Key, and Value, with SessionID and Key serving as the primary keys.</p>
<p>My question is: Should I encrypt the user's SessionID before storing it in the table? In my opinion, I should, because it prevents someone with database access from viewing active session IDs.</p>
Continue reading...
 

Latest posts

Top