[Zope] Zope & Zeus Authentication

J. Cameron Cooper jccooper at jcameroncooper.com
Mon Jan 5 15:44:47 EST 2004


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