Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


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

Re: how to block Java

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
Newsgroups comp.lang.java.security
Subject Re: how to block Java
Date Sat, 21 Jul 2018 20:42:52 +0200
Organization A noiseless patient Spider
Lines 23
Message-ID <pivus9$smo$1@dont-email.me> (permalink)
References <pivsar$42f$1@news.albasani.net>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
Injection-Date Sat, 21 Jul 2018 18:43:21 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="502710a8987363d315df5a10d7458ee6"; logging-data="29400"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186+W67Be63/bK2eJHu6H4t"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Cancel-Lock sha1:k/jBChmFEEKMIws83J5i4lr5RfE=
In-Reply-To <pivsar$42f$1@news.albasani.net>
X-Antivirus-Status Clean
Content-Language en-GB
X-Antivirus AVG (VPS 180721-4, 07/21/2018), Outbound message
Xref csiph.com comp.lang.java.security:327

Show key headers only | 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