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. > 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. - Perrin