RE: [Zope] cookie problem
From: Martijn Pieters <mj@digicool.com> Erm.. .you guys realizing that you are opening a gaping security hole here?
You are right. An astronomical worm-hole. :) Personally, I do the following things: (1) I only use cookies that are encrypted. (2) I avoid using serialization (pickle). On point (1): why would anyone want to expose the recipe of their cookies? If you don't do that with real cookies, why would you do it with internet cookies? :) On point (2): If it is pure data, don't pickle it. Don't be lazy. Write a output format for it. You'll be glad, because you will be able to handle the data from something else than Python. If it is really necessary to keep track of large objects, it's better to store and retrieve them on the server side. I remember someone wrote a How-to on this: http://www.zope.org/Members/gaaros/localcookies Hung Jung ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
On Tue, 1 Feb 2000, Hung Jung Lu wrote:
If it is really necessary to keep track of large objects, it's better to store and retrieve them on the server side. I remember someone wrote a How-to on this: http://www.zope.org/Members/gaaros/localcookies
I suggest not to use localcookies anymore, as now there is a more complete product for server site cookies called FSSession from the same URL. I will try to release an update version of it which is going to be more in line with Anthony's SQLSession, for compatibility issues. Regards Pavlos
participants (2)
-
Hung Jung Lu -
Pavlos Christoforou