Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Breaking Java WebStart Security

 
Saravanan Subramanyan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends
I have one doubt in java WebStart. Whenever i opened a fileoutputstream in my application which is java WebStart enabled it throws access denied exception. How can i avoid this.
 
Hema Menon
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use jarsigner tool to sign your application and then try it. Local access may be allowed with signed(trusted) application jars.
Hema
 
Saravanan Subramanyan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to achive this without signing the jar becz signing the jar is not possible in my application. I want to use the Java WebStart in different way.
 
Hema Menon
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately, I am not aware of any other means. Check out the links provided in other posts to find a solution.
 
Hema Menon
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Saravanan Subramanyan:
I want to use the Java WebStart in different way.

In what way are you trying to use Webstart?
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use the JNLP API to access local disc from an usigned jar. the user will be prompted on every "unsecure" action.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!