I want to interpret scripts of html pages, but I want to disable any possibility to damage my computer. Is there any official tutorial or example on how to configure such a feature? (I do not find it in the official site)
I have not seen an official example, but see this SO question and especially this article about the sandbox in Rhino . The article gives a pretty good overview of what you will need to configure and protect.
run the initial script as follows:
java = undefined; Packages = undefined; org = undefined; ...
.
"out.println('outclass' + out.getClass(). forName ('java.io.File'));
There are a lot of pitfalls in this deal. The previous answer is not good enough.
Source: https://habr.com/ru/post/1777667/More articles:Can SVN display information related to partial validation? - svnhow to get images for ipad custom keyboard - uikeyboardMEF Exception Exception - mefDistance between lat / long points using the Haversin formula - geometryHow to open microphone properties window - windowschanging sql view query in relational algebra? - sqlAssociation ASP.NET Script - javascriptUnderstanding Geocoding in Javascript - jqueryUITabBar Custom Colored Icons - ios4Unable to get cookie.ASPXAUTH value for login with PHP cURL - phpAll Articles