Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WebStart security issue

Status
Not open for further replies.

Strannik

Programmer
Jul 4, 2002
132
0
0
UA
I'm migrating to WebStart technology right now but has some security problems.
When I'm trying to retrieve some properties from jnlp file:
String s = System.getProperty("codebase");
it raises exception:"access denied(java.util.PropertyPermission codebase read".

Is there any way to avoid this if not signing jar-files ?
 
You need to sign ALL your jar files. Even the libraries that your application uses. The webstart-ed application basically has a more lenient security restrictions than an applet. You can consult the webstart documentation for more info. If you've downloaded the J2SE documentation, it should be in the docs\guide\jws folder.

Hope this helps.
 
to LAMSki:

Thanks.I've already used signed applet. I asked because WebStart proposed different security policy than browser did ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top