The Elasticsearch approach is to not allow access ...
# kontributors
a
The Elasticsearch approach is to not allow access to any API that could do such things, plus they apply a security manager which limits some things but not everything. ANd some things are limited for performance not just for access to dangerous resources.