[Zope] Re: Code

Tres Seaver tseaver at zope.com
Thu Apr 28 08:29:35 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andre Meyer wrote:

> There are better experts than myself on this list, but I have never
> had a need to bother with this file for a file-system based product.
> You can just use the standard Python libraries. Probably, the Guard.py
> file protects users of ExternalMethods, but that is just a guess.

Nope.  ExternalMethods are free to use whatever Python libraries they
want.  The OP seemed to be asking how to turn off the access / import
checking for "untrusted" code, which is the only case where the Guard /
RestrictedPython stuff matters.

Nobody here is too willing to help him shoot himself in that foot,
offering instead pointers to the approved mechanisms (filesystem-based
Products / External Methods).

Tres.
- --
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCcNcvGqWXf00rNCgRAuKYAJ9obFgV3KOBg2Sa/H2g2dQakBLHRQCfZT0l
ZgkvzT/+a+VVPl9Y6pBEIiY=
=XE7M
-----END PGP SIGNATURE-----



More information about the Zope mailing list