Solved

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

Posted on 2004-10-04
8
348 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Checkbox and ListView in Android Layout 4 67
Java - Why doesn't this JFrame work 3 59
table example 4 29
Crystal Reports Licensing Questions 4 12
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

810 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