[Zope] How to set-up authentication of pages

Michel Pelletier michel@digicool.com
Tue, 30 Nov 1999 12:19:58 -0500


> -----Original Message-----
> From: Andres Corrada [mailto:andres@corrada.com]
> Sent: Tuesday, November 30, 1999 10:17 AM
> To: zope@zope.org
> Subject: Re: [Zope] How to set-up authentication of pages
> 
> how to get around problems I encounter. I've read the 
> documentation but
> it doesn't solve my problem because I want an automatic way of adding
> members to a client's site. I know how to do that with mod_auth_mysql
> because I can write the Python script that adds form 
> information to the
> mysql database. What Zope functions can I call from my scripts to do
> this addition to the Zope users database? The ZCMG only has "hand
> insertion" of users into Zope.

You can get identical automation with DTML Methods and ZSQL methods to
insert records into a relational database.  A simple example can be
found at:

http://www.zope.org/Documentation/How-To/SQLInsert

-Michel