Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.java.security > #327

Re: how to block Java

From Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
Newsgroups comp.lang.java.security
Subject Re: how to block Java
Date 2018-07-21 20:42 +0200
Organization A noiseless patient Spider
Message-ID <pivus9$smo$1@dont-email.me> (permalink)
References <pivsar$42f$1@news.albasani.net>

Show all headers | View raw


On 2018-07-21 19:59, Wendelin Uez wrote:
> I had to install Java 8 in order to run a special program. This program
> is used very rarely but Java provides its functionality to other
> programs always, and therefore I would like to block Java so that other
> apps and scripts on my PC cannot make use of Java.
> 
> My first idea was to rename Java components via batch before and after
> running the program, but I am not sure if this works realy as expected.
> 
> How can I limit access to Java environment for any other programs
> allowing only myApp.exe to employ Java?

Perhaps you could just remove the JRE installation directory from the $PATH?

Or bundle your program with a JRE (at the cost of size, obviously).

That wouldn't strictly speaking prevent another program from running
"your" JRE, but they would have to know the directory it resides in.

HTH,

-- 
DF.

Back to comp.lang.java.security | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

how to block Java "Wendelin Uez" <wuez@online.de> - 2018-07-21 19:59 +0200
  Re: how to block Java Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-07-21 20:42 +0200
    Re: how to block Java "Wendelin Uez" <wuez@online.de> - 2018-07-22 11:32 +0200
      Re: how to block Java Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-07-22 23:25 +0200
  Re: how to block Java Lothar Kimmeringer <news201705@kimmeringer.de> - 2018-10-15 22:12 +0200

csiph-web