🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15296

Re: starting exe files

#15296
From: Rich Wilkman
Date: Wed, 23 Jun 1999 00:00
54 lines
2360 bytes
Marcel:

Blocking calls to exec() is one of the most basic tenets of the
security  mechanism.

If you are only running it local, make it an Application and enjoy the
80% of Java that you are missing out on!

-Rich

Marcel van den Dungen wrote:
> 
> Steve Schafer (TeamB) wrote:
> 
> > On Tue, 22 Jun 1999 11:55:55 +0200, Marcel van den Dungen
> > <info@c-content.nl> wrote:
> >
> > >i am writing an applet running on ms windows that should start up local
> > >executables (exe files)
> > >can anyone please tell me how to do this?
> >
> > To allow an applet to start an EXE on the host machine is absolutely
> > contrary to the whole idea of applets. Applets run in a "sandbox";
> > they are isolated from the machine on which they run.
> >
> > -Steve
> 
> The meaning is that the applet is only installed locally and runs my own
> programs, it is used for a demo menu. Is there no way to go around the
> security issue, since the applet is not started from a server?I tried the
> following:
> Runtime.getRuntime().exec(command)
> This starts up the command when the applet is started in JBuilder, but I
> can't get it to work in Netscape.
> Can anyone please help me overcome this problem?
> 
> Thanks in advance
> Greetings
> Casper

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <3770FEDC.E2AA3A89@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <376F5DAA.9EE9FB1E@c-content.nl> <37d9a663.136207395@90.0.0.40> <37708E0F.C394D353@c-content.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,9fdd84ddf6b1af98
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: starting exe files
Date: 1999/06/23
Message-ID: <3770FEDC.E2AA3A89@inprise.com>
X-Deja-AN: 492976527
Content-Transfer-Encoding: 7bit
References: <376F5DAA.9EE9FB1E@c-content.nl> <37d9a663.136207395@90.0.0.40> <37708E0F.C394D353@c-content.nl>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language