RE: [PHP] Session Authentication
- From: lists@xxxxxxxxxxx ("Peter Lauri")
- Date: Mon, 9 Apr 2007 18:49:52 +0200
-----Original Message-----
From: Tijnema ! [mailto:tijnema@xxxxxxxxx]
Sent: Monday, April 09, 2007 5:38 PM
To: Martin Marques
Cc: Ólafur Waage; php-general@xxxxxxxxxxxxx
Subject: Re: [PHP] Session Authentication
On 4/9/07, Martin Marques <martin@xxxxxxxxxxxxxxx> wrote:
Tijnema ! escribió:Yes, but i guess you're not only storing if the user has
On 4/9/07, Martin Marques <martin@xxxxxxxxxxxxxxx> wrote:
Yes:
Don't use transparent session id, or even better, save the
authentication in a cookie on the client (seperated from the session
array).
And then the user would crack the cookie ....
I know they are encrypted, but trust me, cookies can be edited.
So what? The user authenticated himself, so what is he gonna crack?
authenticated, also storing a username?
And if that's not the case, then you could authenticate by creating a
cookie where it says authenticated = yes, and you're authenticated...
Tijnema
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[Peter Lauri - DWS Asia]
If cookies were that unsecured so you could create your own cookies that
easily, then would cookies exist?
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
.
- Follow-Ups:
- RE: [PHP] Session Authentication
- From: "Richard Lynch"
- Re: [PHP] Session Authentication
- From: Stut
- Re: [PHP] Session Authentication
- From: "Tijnema !"
- RE: [PHP] Session Authentication
- References:
- Re: [PHP] Session Authentication
- From: "Tijnema !"
- Re: [PHP] Session Authentication
- Prev by Date: Re: [PHP] Session Authentication
- Next by Date: Re: [PHP] Session Authentication
- Previous by thread: Re: [PHP] Session Authentication
- Next by thread: Re: [PHP] Session Authentication
- Index(es):
Relevant Pages
|