Hi Tim,

I'm actually working on a proposal that would do exactly what you're asking
for.  This isn't really a task for Zend_ACL.  Here's a class that will help
you out in the mean time:

http://pastebin.com/m7efdee7e


On Tue, Mar 10, 2009 at 10:09 AM, Tim Rupp <caphrim...@gmail.com> wrote:

> Hi list,
>
> I'm trying to use Zend Acl in an odd way, and I really don't know if
> this can even be done, but figured I'd ask.
>
> I have a resource like a subnet, 172.16.1.0/24 and I want to allow
> access to IPs in that subnet without having to specify each individual
> IP, so 172.16.1.12 would be allowed if the resource specified
> 172.16.1.0/24. I was hoping I could accomplish something along those
> lines using assertions, and maybe I can, but I'm having trouble
> wrapping my head around it.
>
> Thanks for any advice!
> Tim
>



-- 
A.J. Brown
web | http://ajbrown.org
phone | (937) 660-3969

Reply via email to