Solved

read file using applet with premission for microsoft jvm and sun jvm

Posted on 2004-10-04
8
359 Views
Last Modified: 2010-03-31
I would like to read file from client's pc using applet...for that i made applet with permissions:
com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.FILEIO);

It works fine for microsoft jvm but for sun jvm it gives problem.....so i would like to know how to add file permission for sun jvm..
0
Comment
Question by:sandeepaher
  • 3
  • 2
8 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 168 total points
ID: 12224006
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12224009
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12224016
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Assisted Solution

by:Giant2
Giant2 earned 166 total points
ID: 12224097
>com.ms.security.PolicyEngine.assertPermission
is a permission of Microsoft
for Sun is different. See what permission the Applet request to you.

I suggest to use signed applet. This solution is more clear than others.

Bye, Giant.
0
 
LVL 92

Assisted Solution

by:objects
objects earned 166 total points
ID: 12224135
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12224143
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
even odd program using while loop 3 74
tomcat administrtor 12 69
JAVA API design with micro service cloud in mind 1 83
Tagging and Merging on Branch 1 44
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question