Re: Session Authentication
| From: | Tijnema ! | Date: | Mon, 09 Apr 2007 15:55:28 +0000 |
| Subject: | Re: Session Authentication | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252336@lists.php.net to get a copy of this message | ||
On 4/9/07, Peter Lauri <lists@dwsasia.com> wrote:
-----Original Message----- From: Tijnema ! [mailto:tijnema@gmail.com] Sent: Monday, April 09, 2007 5:38 PM To: Martin Marques Cc: Ólafur Waage; php-general@lists.php.net Subject: Re: [PHP] Session Authentication On 4/9/07, Martin Marques <martin@bugs.unl.edu.ar> wrote:Cookies are old, so in the time they were introduced, today it is possible to create and modify cookies with some good tools. These tools are illegal, but every cracker is 99% illegal right? But that means i can't give you these tools to proof it, but it is possible. TijnemaTijnema ! escribió:Yes, but i guess you're not only storing if the user has 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 LauriOn 4/9/07, Martin Marques <martin@bugs.unl.edu.ar> wrote:So what? The user authenticated himself, so what is he gonna crack?And then the user would crack the cookie .... I know they are encrypted, but trust me, cookies can be edited.Yes: Don't use transparent session id, or even better, save the authentication in a cookie on the client (seperated from the session array).