If you put your code in an (non ZClass) python class, I suppose you could delete the .py files and let the users only see and use the .pyc files. It should be possible to do the same with zclasses. The ZODB seems to store a compiled version of all scripts (at least zope complains sometimes that scripts need recompiling), but you would have to edit PythonScript.py as far as I can see to empty the _body property while retaining the _code property. This is of course irreversable. Douwe
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Stylus Sent: Thursday, July 04, 2002 9:11 AM To: zope@zope.org Subject: [Zope] Protecting Zope Code
Hi
Can I protect my Zope code from being visible to users ? As far as I know - once a user has access into the Zope development environment then he can open the code of any ZPT or the third party products itself. Is it possible to generate compiled code in Zope ?
bobby
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )