Is it possible to get a list of running processes using an applet?

I would like to get a list of running processes using a java applet running in a browser. I understand that as long as the applet is signed, he will be able to get this information. That's for sure? Is this possible with an unsigned applet? Finally, are there any FOS applets that I could take a look at?

Thank.

+3
source share
2 answers

An applet must be signed when it wants to access / execute local system resources . This includes execution Runtime#exec()or ProcessBuilderwhich is necessary to get a list of running processes.

, Windows. if (System.getProperty("os.name").startsWith("win")), .

, JApplet AccessController#doPrivileged().

, , enduser , , $$$, VeriSign, enduser . , .

+3

, ( Runtime.getRuntime().exec), tasklist.exe ps unix- .

, , "", "" .

0

Source: https://habr.com/ru/post/1749480/


All Articles