[Zope] Make Zope Web site private?
Ben Avery
ben@thesite.org
Wed, 08 Jan 2003 16:11:17 +0000
1. drop a cookiecrumbler product in the root directory of your website.
2. create a new role in the security tab of this directory.
3. give the role whatever permissions you want anonymous users to have
when the system is released
4. remove the anonymous user rights to everything, except the login_form
of the cookie crumbler (and your standard_html_header / footer, if they
live in this directory)
5. create a user with this role in the acl_users folder
then you can log in this user and view the site, but no-one else will be
able to - they won't get past the login form.
HTH
Ben Avery
YouthNet UK
www.thesite.org
Jon Whitener wrote:
> I want to restrict access to my Zope Web site. Our company's new name must be kept secret for some months, even as I create the new Web site in Zope. I need to view the pages as they will appear to anonymous users, but can't risk anyone else seeing them. The Zope server is running on a remote Linux host.
>
> The pages that would otherwise be public (e.g. the index_html methods) need to be available only to me for a time. I don't have the expertise to create a special index_html to require a password, but that's something like what I would want. I could play around with the port number, too, but that's tedious and not really a solution.
>
> Has anyone solved this problem?
>
> Thanks in advance,
> Jon Whitener
> Detroit Michigan USA
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>