[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] RobotLimit lockout exclusion for custom admins


Quoting Paul Jordan (suppressed):
> 
> 
> Hello List
> 
> Using the latest and greatest IC, as always.
> 
> I have some custom Admins that I would like to not be affected by
> RobotLimit. In Dispatch.pm I see this:
> 
>    and ! $Vend::admin
> 
> Which is one of the gates for before calling do_lockout(). From
> hole-patching changes, I take it that it is more difficult to set this:
> 
> http://www.icdevgroup.org/pipermail/interchange-cvs/2004-April/005808.html
> 
> ;-)
> 
> I wonder if there should be a more "loose" way to bypass RobotLimit to allow
> for certain pages, or directories to be used intensively, by some, or
> certain users.
> I wonder is simply setting and checking a scratch var might suffice. 
> 
>    and ! $Scratch-{RobotLimit_bypass}
> 
> I was going to ask what the best way to set $Vend::admin, but in thinking,
> it might be useful to bypass Robotlimit, and still not have $Vend::admin
> status. This will be an issue for web applications, where frequent moving
> around is the norm.
> 
> Any comments, ideas, or proposals?

The way we would like to do it is probably to make the do_lockout() sub
be a SpecialSub and thereby configurable. Then you could write your own
routine enable those things however you want.


-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <suppressed>

When the only tool you have is a hammer, all your problems tend to look
like nails.  -- Abraham Maslow
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.