Just another Perl shrine | |
PerlMonks |
Re: Cookie based authentication: Is it secure?by sinan (Sexton) |
on Aug 30, 2000 at 12:24 UTC ( [id://30267]=note: print w/replies, xml ) | Need Help?? |
There is something you can do to insure security.
Everytime a user logs on, generate a random
number, put it on the user's machine as a cookie.
At the same time, write the same $random_no to a DB on your server, as well as the user's username. So, you can now identify the user using a temporary id. Hope this helps, Sinan
In Section
Seekers of Perl Wisdom
|
|