+ 2

Why not cookies for sensitive information

I didn't understand clearly why cookies shouldn't be used to store sensitive information?

11th Apr 2017, 6:13 PM
ff84
2 Answers
+ 24
Because users/hackers/randomers can see them......
11th Apr 2017, 6:20 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
Cookies are stored on your local browser memory (session is stored on server side), so everyone can simple open it, read and use... So e.g. if your account information like password and username would be stored in cookie, everyone can simple stole this information and use it.
11th Apr 2017, 8:51 PM
Kamil
Kamil - avatar