Hello, Ok, I will use ExternalMethods. Thanks for your help. Best regards. Jean Tinguely. Selon Tres Seaver <tseaver@zope.com>:
-----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@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----- _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.