[Zope-DB] How to prevent the manage from outer connections ?

Bill Campbell bill at celestial.net
Mon Aug 9 17:39:53 EDT 2004


On Mon, Aug 09, 2004, Chris Withers wrote:
>Bill Campbell wrote:
>>Set the allowable domains in the acl_users entries for people with Manage
>>roles so they can't manage from other places?
>
>This doesn't actually work unless you tweak some hidden method 'cos of 
>the performance suckage it causes.

One could take care of this using the apache rewrite rules.  There are
probably a half-dozen ways of approaching this ranging from pattern
matching on the connecting domain through DNS lookups to a rbldns style
database.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Liberty don't work as good in practice as it does in speeches.''
    Will Rogers


More information about the Zope-DB mailing list