--- Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Tue, 2005-05-10 at 21:43 -0700, Igor Chudov
> wrote:
> > These user submitted perl scripts will be executed
> > inside Safe.pm compartment. I hope that they will
> be
> > secure enough.
>
> It won't be, if someone is determined to damage your
> system.
Can you be a little more specific? Are you talking
about damage such as abuse of resources, or are you
talking about gaining unauthorized privileges?
> > My question is, is there some way to limit
> execution
> > time of a subroutine?
>
> You can use Apache::Resource to set limits on CPU.
> It will kill the
> process if it goes over, but this is probably for
> the best.
Thanks. I will try using alarm also.
i
- Igor
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail