Is there a way to prevent access to certain libraries in dart? The reason why is I want to allow a scripting language in my application. It looked like dart would make that easy, by just limiting what libraries one could import and defining my own libraries. Is this a viable option? For example, I would want to completely remove access to dart:html so that why the scripts can't mess with the DOM.
Asked
Active
Viewed 64 times
1 Answers
2
There was a discussion recently about this feature request https://code.google.com/p/dart/issues/detail?id=16373 This is for isolates spawned from Dart code.
I don't know about it when hosting Dart in your application.
See also this question Embedding Dart into application

Community
- 1
- 1

Günter Zöchbauer
- 623,577
- 216
- 2,003
- 1,567