Contents
Don’t store anything in a Cookie that will allow your site to be hacked or accessed without going through proper channels. Usually, just a session ID or user ID is stored in a cookie, and often in a form intended to be opaque to anyone but the cookie consumer.
The cache is where the browser stores temporary website information. Your passwords are stored in the Password Manager. Your login status is stored in special cookies. The cache is where the browser stores temporary website information.
Will clearing my cookies delete passwords?
Deleting cookies removes session login information, including the previously entered username and password. However, deleting cookies does not affect passwords you saved in your browser, so when you revisit a site, your browser may automatically fill in the login page with your saved username and password.
Deleting the cookie “sgt” which I believe stores my unique identifier, i am still logged in automatically. Therefore, I am suspicious about the cookie “security user”. Also, if I haven’t allowed my browser to store my password then why should a website store the login information without my consent. Is this a right behaviour?
You have no guarantee that cookies aren’t stored in plain text (and in fact, most implementations do store them as plain text). Mind you, “remember me” is inherently insecure, as anyone intercepting the cookie gets access to the application. But exposing a user’s password takes it a step further down the insecurity ladder.
Where are cookies stored in a Chrome browser?
Using chrome browser, I found there are 3 cookies stored by stackexchange. Deleting the cookie “sgt” which I believe stores my unique identifier, i am still logged in automatically. Therefore, I am suspicious about the cookie “security user”.
In your application, cookies are another form of user input and are therefore subject to examining and spoofing. A user can as a minimum see the data that you store in a cookie, since the cookie is available on the user’s own computer. The user can also change the cookie before the browser sends it to you.