Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

security exception in Browser

 
Clara Hall
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My applet needs to access the file system of the local machine. And I set up a policy file to grant the required permission. When I use appletviewer to run the applet, it works fine. But when I try to use netscape to run the applet, I got security exception. Is there anything needs to be configured in netscape? How about IE? Thank you.
Clara
 
Sajee Joseph
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
To grant access to the client system, u need to sign ur jar file using a certificate. And u need to down load the certificate. This appoach is fine till JRE1.3
It doesnt work in JRE1.3.1
And in JRE1.4 beta u dont have to sign the jar file atall.
So first u tell me which jre are u using??
regards
Saj
 
Clara Hall
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thank you for your reply. I am using JDK 1.3.1.
So, you mean I need to sign it if I want to use web browser to run my applet eventhough the "SignedBy" field in my policy file is empty? Thank you.
Clara
 
Clara Hall
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, missed one sentence.
As you mentioned, this method doesn't work for JRE 1.3.1. Then what should be done for JRE 1.3.1? Thanks.
Clara
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic