[Zope] Zope & Zeus Authentication

kittonian kittonian at macgenius.net
Mon Jan 5 15:49:19 EST 2004


Actually the question was targeted at anyone in the Zope community that also
uses the Zeus web server.  I am not 100% convinced that I am thinking about
the solution to this correctly.  I was hoping that someone else had done
something similar or might be able to provide some insight on a possible
solution to this issue.

kittonian 

-----Original Message-----
From: J. Cameron Cooper [mailto:jccooper at jcameroncooper.com] 
Sent: Monday, January 05, 2004 3:45 PM
To: kittonian at macgenius.net
Cc: zope at zope.org
Subject: Re: [Zope] Zope & Zeus Authentication

kittonian wrote:

> We are running Zeus as the webserver and using Zope extensively.  
> Everything works wonderfully except for one major thing.  In order to 
> password protect a directory we have to setup the users and groups in 
> Zeus and therefore we are unable to use things like SimpleUserFolder 
> with some python/zsql scripts to auth users for a specific website's 
> members folder.
>  
> We have a PostgreSQL DB setup with a table called users.  In that 
> table are various columns (username, password, etc.).  We have a 
> folder in the site called members and we need to make sure that no one 
> can access anything inside the members folder without first 
> authenticating through a page that contains a login form (type in 
> username and password, click the submit button, the system auth's from 
> data within the db and either lets the user in or return a page that 
> says sorry the login and password don't match, etc.).
>  
> How do I accomplish this?  Zeus seems to allow either explicitly 
> defining the users/groups from within the Zeus management interface OR 
> allows you to use an LDAP server.  There is nothing regarding using a 
> DB to hold the user info.  Perhaps I am just missing the correct way 
> to make this happen?

Forgive me if I misunderstand, but isn't this really a Zeus (and not
Zope) question? eg: How the heck does Zeus store its users, and how can I
get it to use an external relational datbase?

On the Zope side:
 - Zope can use LDAP
 - Zope has many ways available for you to use outside user sources if you
want to try to support whatever is Zeus's native format
         (Extensible User Folder, Simple User Folder, Pluggable User Folder,
write your own user folder)

             --jcc

--
"My point and period will be throughly wrought, Or well or ill, as this
day's battle's fought."






More information about the Zope mailing list