Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Help !!!!! cabarc refuses to work

Posted on 2000-05-08
3
Medium Priority
?
202 Views
Last Modified: 2007-12-19
I have an applet in which am using Java 2D API functions and have granted the file read permission by making a .cab file. Now to execute this applet under IE4.0 I converted it's HTML file using HTMLConverter that Sun provides. Now I tried to execute it under IE4.0, 2D API functions work properly but it is refusing to grant the file read permission. Please help
0
Comment
Question by:ganesht
[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
  • 2
3 Comments
 

Accepted Solution

by:
Blob earned 100 total points
ID: 2800660

Have you signed the Cab-Arc with the Signcode-Tool?

example for signing new CAB-Archive

signcode -j javasign.dll  -jp ..\JavaPerm.ini -spc ..\Development.spc -v ..\Development.pvk  UserLogin.cab

Get your Applet the Permisions?

try {
  if (Class.forName("com.ms.security.PolicyEngine") != null) {  
      PolicyEngine.assertPermission(PermissionID.FILEIO);
      PolicyEngine.assertPermission(PermissionID.NETIO);  
      PolicyEngine.assertPermission(PermissionID.PROPERTY);
  }
} catch (Throwable cnfe) {
 .....
}
0
 

Author Comment

by:ganesht
ID: 2804206
Dear Blob Thanks for your suggestion but the fraction of code you that you have given here that is there already in my program still it doesn,t asks for the permissions.
Second Thing I came to know that it dosen't takes the cab file at all B'cause I deleted all the class files in the directory where I have kept the .cab file but it show's an error "Class not found" Please try some other stuff.
0
 

Expert Comment

by:Blob
ID: 2825060
Wait a moment,
you use the Java Plugin from Sun with the IE?
Are you sure, that the Plugin uses the same Permision-Concepts with the MS-VM? try Sun's Permision and signing Model...
 

Chris alias Blob
0

Featured Post

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

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 …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.
Suggested Courses

670 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