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


Groups > comp.lang.java.programmer > #27978 > unrolled thread

Webstart security message

Started byDirk Niemeier <dirk.niemeier.sth@gmail.com>
First post2014-04-07 07:07 -0700
Last post2014-04-24 03:12 -0700
Articles 7 — 4 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Webstart security message Dirk Niemeier <dirk.niemeier.sth@gmail.com> - 2014-04-07 07:07 -0700
    Re: Webstart security message markspace <markspace@nospam.nospam> - 2014-04-07 08:29 -0700
    Re: Webstart security message Roedy Green <see_website@mindprod.com.invalid> - 2014-04-07 09:20 -0700
      Re: Webstart security message Dirk Niemeier <dirk.niemeier.sth@gmail.com> - 2014-04-17 06:44 -0700
        Re: Webstart security message Roedy Green <see_website@mindprod.com.invalid> - 2014-04-18 13:15 -0700
          Re: Webstart security message Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2014-04-21 10:43 +0800
            Re: Webstart security message Dirk Niemeier <dirk.niemeier.sth@gmail.com> - 2014-04-24 03:12 -0700

#27978 — Webstart security message

FromDirk Niemeier <dirk.niemeier.sth@gmail.com>
Date2014-04-07 07:07 -0700
SubjectWebstart security message
Message-ID<5a768a16-8e6a-4517-a8e8-d7bf136185e7@googlegroups.com>
Hi,
since 1.7.0.51 update I get every application start an security message. My webstart app is an intranet local application and I need unresticted access. 
The message is: "do you want to start this application?"
(this application need unrestricted acces, this can be a risk,.....) free translation from german.

TIA
  Dirk

[toc] | [next] | [standalone]


#27979

Frommarkspace <markspace@nospam.nospam>
Date2014-04-07 08:29 -0700
Message-ID<lhug86$2o1$1@dont-email.me>
In reply to#27978
On 4/7/2014 7:07 AM, Dirk Niemeier wrote:
> Hi, since 1.7.0.51 update I get every application start an security
> message. My webstart app is an intranet local application and I need
> unresticted access. The message is: "do you want to start this
> application?" (this application need unrestricted acces, this can be
> a risk,.....) free translation from german.


<http://www.java.com/en/download/faq/signed_code.xml>


Quote:

"Developers: As of 7u51, (January, 2014), your Rich Internet 
Applications (RIAs, also known as Applets and Web Start applications) 
must be updated. The updates required are on the packaging and 
distribution; no API code changes should be required. The impetus for 
these changes relates to potential re-purposing of sandboxed 
applications, whereby placing permissions within a signed JAR prevents 
modification of your specified permission level.
RIAs must contain two things:

     Code signatures from a trusted authority. All code for Applets and 
Web Start applications must be signed, regardless of its Permissions 
attributes.
     Manifest Attributes
         Permissions – Introduced in 7u25, and required as of 7u51. 
Indicates if the RIA should run within the sandbox or require 
full-permissions.
         Codebase – Introduced in 7u25 and optional/encouraged as of 
7u51. Points to the known location of the hosted code."

[toc] | [prev] | [next] | [standalone]


#27981

FromRoedy Green <see_website@mindprod.com.invalid>
Date2014-04-07 09:20 -0700
Message-ID<drj5k9lgq7qal35ual9ceo2l444oseki3c@4ax.com>
In reply to#27978
On Mon, 7 Apr 2014 07:07:17 -0700 (PDT), Dirk Niemeier
<dirk.niemeier.sth@gmail.com> wrote, quoted or indirectly quoted
someone who said :

>since 1.7.0.51 update I get every application start an security message. My webstart app is an intranet local application and I need unresticted access. 
>The message is: "do you want to start this application?"
>(this application need unrestricted acces, this can be a risk,.....) free translation from german.

Here are three solutions.

1. buy a real code-signing cert, and put a copy of your jnlp file
inside the jar under the name. JNLP_INF/APPLICATION.JNLP before you
sign the jar. You still need a freestanding copy to launch the app.

2. put your properties in a kludge.properties resource in the jar and
read them with Properties.load instead of System.getProperties.

3. Run the app standalone. Put the properties as -D switches on the
command line.

-- 
Roedy Green Canadian Mind Products http://mindprod.com
"The question of whether machines can think is about as relevant 
as the question of whether submarines can swim"
~ Edsger Wybe Dijkstra (born: 1930-05-11 died: 2002-08-06 at age: 72)

[toc] | [prev] | [next] | [standalone]


#28119

FromDirk Niemeier <dirk.niemeier.sth@gmail.com>
Date2014-04-17 06:44 -0700
Message-ID<459a3999-d3ff-498d-8492-99ea59943421@googlegroups.com>
In reply to#27981
Hello Roedy,
I tried solution no.1. And I am a small step further.

I signed it and get an other startup popup, because the missing JNLP-INF/APPLICATION.JNLP. ( signed, but start with unrestricted access and JLNP is missing ).
My problem is now: when I add the APPLICATION.JNLP to the JAR file I get the popup where I can check that the popup should not come up again. But after I confirm that I will start the application nothing happens. When I delete the APPLICATION.JNLP from the JAR file it will start again.
You ever heard about that problem? 
TIA
  Dirk

[toc] | [prev] | [next] | [standalone]


#28132

FromRoedy Green <see_website@mindprod.com.invalid>
Date2014-04-18 13:15 -0700
Message-ID<ju13l9tefqncffhli9cesmgddkcs2tdoo2@4ax.com>
In reply to#28119
On Thu, 17 Apr 2014 06:44:16 -0700 (PDT), Dirk Niemeier
<dirk.niemeier.sth@gmail.com> wrote, quoted or indirectly quoted
someone who said :

>You ever heard about that problem

Nothing works the way any sane person would design.  It makes you give
permission several times to run a program. It asks you if you want to
give permission of all time to everything on the site. You say yes.
But it acts as if you said no.

It asks for permission for sandbox apps. 

It asks permission if you reload the page (through Chrome is better
about that).

It asks permission if you jump to a page then hit back.
 
I don't have real cert yet. I gave up part way through application.  
My legal name is not the name everyone knows me by, and I don't want
to broadcast my legal name. My company is not really in business any
more to have a license.  It is on my todo list to give it another
bash.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
"Don't worry about people stealing an idea; if it's original, you'll
 have to shove it down their throats." 
~ Howard Aiken (born: 1900-03-08 died: 1973-03-14 at age: 73)

[toc] | [prev] | [next] | [standalone]


#28151

FromRichard Maher <maher_rjSPAMLESS@hotmail.com>
Date2014-04-21 10:43 +0800
Message-ID<lj20kr$vdo$1@speranza.aioe.org>
In reply to#28132
On 4/19/2014 4:15 AM, Roedy Green wrote:
> On Thu, 17 Apr 2014 06:44:16 -0700 (PDT), Dirk Niemeier
> <dirk.niemeier.sth@gmail.com> wrote, quoted or indirectly quoted
> someone who said :
>
>> You ever heard about that problem
>
> Nothing works the way any sane person would design.

I suggest it has more to do with competence than sanity.

> It makes you give
> permission several times to run a program. It asks you if you want to
> give permission of all time to everything on the site. You say yes.
> But it acts as if you said no.

In my opinion Eric Costlow's lack of exposure to Java and its inner 
workings has left him tinkering at the periphery and trying to electrify 
and razor-wire the moat.
>
> It asks for permission for sandbox apps.

This is his greatest crime against the Java community :-( This paradigm 
has served Java so faithfully over the years it is absolutely 
unbelievable that anyone would throw this baby out with any bathwater.
>
> It asks permission if you reload the page (through Chrome is better
> about that).

Any of you out there using Chrome and Applets on Linux? Has it stopped 
working yet?
>
> It asks permission if you jump to a page then hit back.
>
> I don't have real cert yet. I gave up part way through application.
> My legal name is not the name everyone knows me by, and I don't want
> to broadcast my legal name. My company is not really in business any
> more to have a license.  It is on my todo list to give it another
> bash.
>
Don't worry, for every additional lock Eric puts on the door he opens 
another window. Site-policy files, user exception list etc.

[toc] | [prev] | [next] | [standalone]


#28211

FromDirk Niemeier <dirk.niemeier.sth@gmail.com>
Date2014-04-24 03:12 -0700
Message-ID<f6d9fd66-b073-459b-8243-5d8b4a1d6aa5@googlegroups.com>
In reply to#28151
Hi,
it's nice for you to talk about your opinions. But that discussion should be an other thread.

My problem is solved by my self. I had a special VM arg setting that caused the problem. (java-vm-args="-Xrunyjpagent:port=10001")

Is the port reserved for something?

TIA
  Dirk

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web