Hello
I have a php system which relies on cookies to check if the person is already logged-in on that machine or not. The system checks if there’s a related session entry in the database (random key in the db and cookie), and uses some sort of tokens, also stored in another cookie, to authenticate if the the user iD in the cookies has the same token in the related database entry.
What happens is all these cookies are moved to another computer, will they be successfully authencitcated?, if so What can be done to prevent people from copying and pasting all the cookies in another computer on the same network and then being successfully authenticated?
Thanks