Solved

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

Posted on 2004-10-04
8
367 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 168 total points
ID: 12224006
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This video teaches viewers about errors in exception handling.

705 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