[Zope] restrict method to IPs

Martijn Pieters mj@digicool.com
Mon, 20 Mar 2000 08:07:16 +0100


On Mon, Mar 20, 2000 at 12:47:49PM +1100, Dyon Balding wrote:
> i want to restrict a particular method of my product to a set of IPs.
> i was thinking of creating a user limited to those IPs, and assigning
> it a local role which corresponds to the particular method.
> 
> is there a better way?

No, that is the best way. Note that you don't have to give that user a password, and that for users from the specified set of IP addresses the authentication will be transparent.

-- 
Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------