Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
Scripting JavaScript 2.0.2
-
None
-
None
Description
The Rhino ContextFactory enables functionality to limit the time a given script may run. This might be particularly usefull for the web application case to prevent hogging the server with "never ending" scripts.
The drawback of this functionality is, that the scripts must be interpreted, because the limits are enforced by the interpreter. But given that scripts are generally small and simple (and more complex business logic is done in Java classes), this may not be a big issue.
Attachments
Issue Links
- is duplicated by
-
SLING-524 Restrict JavaScript Engine to allow running untrusted scripts for user-driven templating
- Resolved