[Zope] Another question about LoginManager (or similar products)

Lars Preben S. Arnesen l.p.arnesen@usit.uio.no
16 Apr 2001 20:59:19 +0200


[ Andrew Athan ]

> The idea is to define a role which is useful to you e.g. "Authorized" and
> then set up the pages in your site so that only "Authorized" users and
> "Managers" can see them.  You give permission to read pages by "Anonymous"
> only to pages like the login page that you don't need to protect (myself, I
> modified LoginManager to return the LoggingInUser and LoggingIn role for
> login, but whatever).  

OK, I'm a newbie and obiously I need this whith a tea spoon:

Let's say that create a new folder (in the root folder) named
'foobar'. foobar only contains an index_html object. So now everybody
is able to see the content of my indexfile by accessing
http://myZopeServer:8080/foobar

Could someone please tell me step by step how to protect the contents
of foobar so that every user has to log in to get the contentes only
using the built-in user function in zope?


-- 
Lars Preben