[Zope] Handling of objects returned from external methods within zope?

Passin,Thomas B. (Tom) tpassin@mitretek.org
Wed, 18 Sep 2002 13:54:32 -0400


[ DA Loeffler]
>=20
> On Wed, 18 Sep 2002, Passin,Thomas B. (Tom) wrote:
>=20
> > External methods are functions, not methods.  But if the function=20
> > returns an object you should be able to use its methods.
>=20
> Actually you should not, because it might be insecure to=20
> import untrusted objects. But you can declare objects to be=20
> trustworthy.
>=20

Right, another subject but important to know about.

> Try putting the line=20
> __allow_access_to_unprotected_subobjects__=3D1 in the class =
definition.=20
>=20
> (I have Casey Duncan to thank for suggesting this to me when=20
> I faced the same problem some while ago.)
>=20