User loginNavigation |
Quote Safe unquote JVM language?The problem is: running user scripts on your server. Supposing the Java runtime is in use, you'd like to guarantee:
Java can be made pretty 'safe' using the it's built in sandboxing features (SecurityManager, AccessController, and Classloader) but most all JVM languages out there now (JRuby, Jython, Groovy, ...) are dynamic in nature and nearly impossible to 'secure' in the sense of the three items above:
So you might suppose a language that disallows reflection and heap allocation might be a good thing in such an environment. Suppose 'new' was not a keyword, and a convention were adopted such as 'declaration is instantiation' then you could generate bytecode that would simulate stack allocation thus protecting the heap. Disallow recursion by embedding some code to examine the call stack for the current method. Has anyone else considered this use case? Am I talking about Ada here? By markt at 2013-07-10 14:05 | LtU Forum | previous forum topic | next forum topic | other blogs | 6477 reads
|
Browse archives
Active forum topics |
Recent comments
22 weeks 6 days ago
22 weeks 6 days ago
22 weeks 6 days ago
45 weeks 21 hours ago
49 weeks 2 days ago
51 weeks 6 min ago
51 weeks 10 min ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago