Re: is it safe to store a cookie user id as a login for my site
- From: Mike Roetgers <mikeroet@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Feb 2007 11:27:02 +0100
monomaniac21 schrieb:
hiYou could store one half of the user's password hash in the cookie. When he come back, you compare it to the hash in the db. Works for me :-)
i have a php site which allows users to save a cookie on their
computer which stores their user id details and allows them to auto-
login.
i'm wondering whether this is safe, is it possible for a malicious
user to find that cookie and change its value and therefore auto-login
as someone else? and if so how can this be prevented?
thanks
marc
.
- Follow-Ups:
- Re: is it safe to store a cookie user id as a login for my site
- From: Jerry Stuckle
- Re: is it safe to store a cookie user id as a login for my site
- References:
- is it safe to store a cookie user id as a login for my site
- From: monomaniac21
- is it safe to store a cookie user id as a login for my site
- Prev by Date: Re: is it safe to store a cookie user id as a login for my site
- Next by Date: php files downloading
- Previous by thread: Re: is it safe to store a cookie user id as a login for my site
- Next by thread: Re: is it safe to store a cookie user id as a login for my site
- Index(es):
Relevant Pages
|