I know that Zope uses the fact that an object or method starts with _ as a security feature, but is there a way of circumventing it? I am looking at the posibility of developing a basic level of Microsoft Frontpage support, but ALL frontpage actions contain _ in the folder names. If there is just one point in the code that I need to add a few exceptions to the "Can't start with _" rule, then I can do that - This project is fairly important. Adrian... -- Adrian Hungate All views expressed in this email are those of the whole world, however some people don't realise this yet.
Adrian Hungate wrote:
If there is just one point in the code that I need to add a few exceptions to the "Can't start with _" rule, then I can do that - This project is fairly important.
I don't think there's many places in the code. grep is probably your best friend... cheers, Chris
Adrian Hungate writes:
I know that Zope uses the fact that an object or method starts with _ as a security feature, but is there a way of circumventing it? I am looking at the posibility of developing a basic level of Microsoft Frontpage support, but ALL frontpage actions contain _ in the folder names.
If there is just one point in the code that I need to add a few exceptions to the "Can't start with _" rule, then I can do that - This project is fairly important. You can use a SiteAccess AccessRule to map the "_" transparently to something different.
There are HowTos on Zope.org on how to use SiteAccess for similar tasks. Dieter
Now there is an idea. Not product'able (Is that a word?) but it might work for this specific instance. Thanks Adrian... -- Adrian Hungate All views expressed in this email are those of the whole world, however some people don't realise this yet. ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Adrian Hungate" <adrian@haqa.co.uk> Cc: <zope-dev@zope.org> Sent: Tuesday, January 15, 2002 8:02 PM Subject: Re: [Zope-dev] Accessing objects starting with _
Adrian Hungate writes:
I know that Zope uses the fact that an object or method starts with _ as a security feature, but is there a way of circumventing it? I am looking at the posibility of developing a basic level of Microsoft Frontpage support, but ALL frontpage actions contain _ in the folder names.
If there is just one point in the code that I need to add a few exceptions to the "Can't start with _" rule, then I can do that - This project is fairly important. You can use a SiteAccess AccessRule to map the "_" transparently to something different.
There are HowTos on Zope.org on how to use SiteAccess for similar tasks.
Dieter
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (3)
-
Adrian Hungate -
Chris Withers -
Dieter Maurer