[Zope] Telnet - psycopg - odbc - dbi with python in Zope

Andreas Jung lists at andreas-jung.com
Wed Mar 30 05:51:56 EST 2005



--On Mittwoch, 30. März 2005 15:06 Uhr +0530 "Reddy, Niranjan Kumar (STSD)" 
<niranjan-kumar.reddy at hp.com> wrote:

> Hi Guys,
>
> I'm a newbie to Zope .. & here's my query ..
>
> My Application Architecture : Web Interface ( submit data & Report
> data)<-> Python Scripts ( Uses telnetlib, psycopg, odbc modules) <->
> Database ( PostgreSql )
>
> Querying the database directly through Python is an easy job but when I
> try to invoke the Python scripts through Zope, there are some security
> restrictions in zope where in we are not allowed to access all the
> built-in libraries of Python like telnetlib, psycopg, dbi , odbc & so
> on.

Please read the RDBMS chapter of the Zope Book carefully and learn about
database adapters first before trying things out in a way which is not
recommended.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050330/8537458a/attachment.bin


More information about the Zope mailing list