Could someone point me out to some good documentation to explain security in Zope for me? I am trying to set up the GUF through my database, but I find I am having a hard time figuring out proxy logins and the like and would like to read up and have a good understanding of the Zope model before I start outsourcing it to my db. Thanks -- Lucas Vogel lucas7@home.com ICQ: 44697169
Lucas Vogel writes:
Could someone point me out to some good documentation to explain security in Zope for me? I am trying to set up the GUF through my database, but I find I am having a hard time figuring out proxy logins and the like and would like to read up and have a good understanding of the Zope model before I start outsourcing it to my db.
The 'Delegating control' section of the Zope Content Managers' Guide is a good start, as well as the README for GUF. Basically, assigning a proxy role for an object (like a report method for a form) lets it perform any action that that role can perform. The basic idea is that users shouldn't (generally) have direct access to database methods - especially ones related to the authentication/authorization systems. In the case of GUF, you should ensure that anonymous users can't access database methods, and create a role that can access the the db methods. Then, for each report method that needs to access one of these DB methods, you give assign it a proxy role of authorizer. Thus the report get's to chew on the user's input before doing anything like changing a password or setting roles. Hope this helps. John.
On Sat, 26 Feb 2000, Lucas Vogel wrote:
Could someone point me out to some good documentation to explain security in Zope for me? I am trying to set up the GUF through my database, but I find I am having a hard time figuring out proxy logins and the like and would like to read up and have a good understanding of the Zope model before I start outsourcing it to my db.
Zope security is almost exactly like Unix security. A proxy role is like making a program run set-uid or set-gid. The only real difference is that your groups (Zope Roles) are not globally visible - they can be seen only in the folder they were created and subfolders. I can give a fuller explanation in about a week when things quieten down here a bit :-/ Who let these students back from holiday? -- ___ // Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au // E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au //__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen
participants (3)
-
John Morton -
Lucas Vogel -
Stuart 'Zen' Bishop