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


Groups > comp.lang.java.programmer > #11589

Re: Java Web Start Permissions

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Java Web Start Permissions
Date 2012-01-23 21:32 -0500
Organization The Wasteland
Message-ID <nospam-90F883.21320923012012@news.aioe.org> (permalink)
References <Xns9FE2D3AAA51CFjpnasty@94.75.214.39> <jfiikv$qcd$1@dont-email.me> <Xns9FE38F38EA53Bjpnasty@46.4.102.18> <jfkk6l$2ku$1@dont-email.me>

Show all headers | View raw


In article <jfkk6l$2ku$1@dont-email.me>,
 Knute Johnson <nospam@knutejohnson.com> wrote:

> On 1/23/2012 11:04 AM, Novice wrote:
> > I'm not wild about that solution either. _I_ know that my program 
> > is harmless but I don't want people using it to have to wonder what 
> > kind of nastiness my program might commit.
> 
> And there is the rub.  No matter how you release the program from the 
> constraints of the security manager, it can wreak havoc on the user's 
> computer.

One alternative is to use a javax.jnlp.PersistenceService [1] 
implementation, which "provides methods for storing data locally on the 
client system, even for applications that are running in the untrusted 
execution environment." Andrew Thompson has posted a convenient 
demonstration [2] that saves notes across launches without requiring any 
special permissions.

[1] 
<http://docs.oracle.com/javase/7/docs/jre/api/javaws/jnlp/javax/jnlp/Pers
istenceService.html>
[2] <http://pscode.org/jws/api.html#ps>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

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


Thread

Java Web Start Permissions Novice <novice@example..com> - 2012-01-23 01:48 +0000
  Re: Java Web Start Permissions Knute Johnson <nospam@knutejohnson.com> - 2012-01-22 19:02 -0800
    Re: Java Web Start Permissions Novice <novice@example..com> - 2012-01-23 19:04 +0000
      Re: Java Web Start Permissions Knute Johnson <nospam@knutejohnson.com> - 2012-01-23 13:41 -0800
        Re: Java Web Start Permissions "John B. Matthews" <nospam@nospam.invalid> - 2012-01-23 21:32 -0500
          Re: Java Web Start Permissions Knute Johnson <nospam@knutejohnson.com> - 2012-01-23 21:22 -0800
            Re: Java Web Start Permissions "John B. Matthews" <nospam@nospam.invalid> - 2012-01-24 01:40 -0500
              Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-24 09:21 -0500
            Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-24 04:23 -0500
              Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-24 04:40 -0500
            Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-24 05:20 -0500
            Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-24 06:08 -0500
            Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-24 07:22 -0500
  Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-24 05:42 -0500
  Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-24 07:43 -0500
    Re: Java Web Start Permissions Gunter Herrmann <notformail0106@earthlink.net> - 2012-01-24 16:48 -0500
      Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-24 18:13 -0500
        Re: Java Web Start Permissions Gunter Herrmann <notformail0106@earthlink.net> - 2012-01-25 10:28 -0500
          Re: Java Web Start Permissions Jeff Higgins <jeff@invalid.invalid> - 2012-01-25 12:06 -0500
  Re: Java Web Start Permissions Roedy Green <see_website@mindprod.com.invalid> - 2012-01-24 09:48 -0800

csiph-web