[Zope-dev] Accessing objects starting with _
Dieter Maurer
dieter@handshake.de
Tue, 15 Jan 2002 21:02:46 +0100
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