RE: [Zope] How to set-up authentication of pages
-----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
Okay, okay. So now I've explored using UserDB and dropped it because it had no docs I could find. And I'm now trying to use GenericUserFolder as also suggested. Followed the installation instructions but got no authentication request when I tried to access folder I'm trying to protect. I think my problem is that I don't know how to hook GUF to the index_html page in the folder. What do I put on the index_html page to trigger the authentication? ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com Owner http://www.corrada.com/mamey Mamey Phone: (413) 587-9595 ------------------------------------------------------
participants (2)
-
Andres Corrada -
Michel Pelletier