Solved

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

Posted on 2004-10-04
8
329 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
Comment Utility
0
 
LVL 18

Expert Comment

by:armoghan
Comment Utility
0
 
LVL 18

Expert Comment

by:armoghan
Comment Utility
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 12

Assisted Solution

by:Giant2
Giant2 earned 166 total points
Comment Utility
>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
Comment Utility
0
 
LVL 12

Expert Comment

by:Giant2
Comment Utility
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
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 …

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now