I have a login page with "remember me" option.
If the user wished to save his credentials in system using "remember me" option the details are saved using cookies.
The next time the user visits the site the credentials are taken from cookies as expected.
I noticed that as these values are not encrypted while saving in cookie. So I can use "Inspect element" of chrome for finding the value of password textbox(Taken from cookie)
In any way i can prevent this. Either
- Encrypt the values while saving to cookie
- Even if user user "Inspect Element" he will not be able to see the value of textbox(Almost Impossible I guess)