You are not logged in.
Pages: 1
Hello,
I need to run a jar file with
java -jar $filebut I am reluctant to do so on my system for fear of compromising its security.
Apart from running it in a live system on a usb with my SSD physically unplugged (my current solution), isn't there a more "sane" way?
Thanks in advance.
Offline
A virtual machine would be more sane, but why would you have to run a file you suspect is a security risk?
Offline
The likes of AppArmor and firejail can be used to prevent an app from misbehaving (which mostly means reading/writing files).
Offline
Or an LXC container, or a chroot, or systemd-nspawn.
There are lots of options available to you.
Offline
The jar contains proprietary, web-facing software. As a matter of fact I may try decompiling it, but it's huge and there's no way I can scan its code to check its safety.
Thank you all for your tips, I will look into them.
Offline
Or a Raspberry Pi running Linux if you want to run it on bare metal.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1