Restricting access via IP address?
I'm moving up the learning curve with Zope and have skimmed the archives of this list and other documentation so forgive me if the answer to this question is blindingly obvious (because I've got a feeling I'm missing something fundamental here) but .... .... how do I limit visibility of Zope-served pages by IP address? I guess using an if tag and REMOTE_ADDR is one of of doing it but it seems sort of kludgey when Zope seems to have most of the intranet-type bases covered. Many TIAs Paul Browning -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bris.ac.uk URL: http://www.bris.ac.uk/
On 19 Apr 1999 04:10:02 -0500, Paul Browning wrote:
.... how do I limit visibility of Zope-served pages by IP address? I guess using an if tag and REMOTE_ADDR is one of of doing it but it seems sort of kludgey when Zope seems to have most of the intranet-type bases covered.
If you want to use Zope's built-in security mechanisms you can set the 'Domain' rules for an acl_users user name. Name : Guest Password : (Confirm) : Domains : *.mydomain.org *.fredsdomain.org 199.100.* Roles: Check the acl_users folder documentation on how to use the Domain rules. How do I know? This was one of the things I 'convinced' Paul into supporting with Principia. I do think that a couple more people were asking for it also, but I stepped up to the plate carrying the big bat. Now you don't have to wonder why Paul wears a helmet when I'm around. Kent
participants (2)
-
kent@tiamat.goathill.org -
Paul Browning