[Zope] Override members values

Jonathan dev101 at magma.ca
Tue Jul 11 08:00:50 EDT 2006


----- Original Message ----- 
From: "knitti" <knitti at gmail.com>
To: "Garito" <garito at sistes.net>
Cc: <zope at zope.org>
Sent: Tuesday, July 11, 2006 7:38 AM
Subject: Re: [Zope] Override members values


> On 7/10/06, Garito <garito at sistes.net> wrote:
>> knitti escribió:
>> There are any way to distinguish when the property is called by ZMI or
>> FTP or another "system" call (about Zope) from the property when is
>> called outside ZMI?
>
> not that I'm aware of.

You could check to see if HTTP_REFERER exists, and if it does exist does it 
contain 'manage' - this will get most of the ZMI interactions, but to be 
sure you could force all of your ZMI usage thru a different port.


Jonathan 



More information about the Zope mailing list