On Fri, Jul 3, 2009 at 12:25 PM, Marco
Schuster<marco(a)harddisk.is-a-geek.org> wrote:
You can make some kind of counter, which gets
incremented each
foreach/while/for loop. If it reaches 200 (or whatever), execution is
stopped.
Yes, but that implies:
1) We're writing an interpreter, or getting heavily involved in the
codebase of an existing one
2) Thinking ahead of every possible DoS and thwarting it.
I was wondering if there was a more general solution using a black box
interpreter. But without knowing the language or interpreter, that may
not be a very meaningful question.
Steve