Signing jar and appending to the original manifest

358 byte By scaroa at 2007-10-2 9:33:31
I create my jars with a manifest file with some entrieslike Specifiaction and implementation versionshowever when I sign them the manifest is replaced and I lose my manifest entriesAm I doing something wrong is that what is supposed to happen?If that is normal what do I do to keep my original ...

Applet exception...

959 byte By TreyAU21a at 2007-10-2 9:44:02
Hey guys... this is my first post on these forums.I just recently created a Java applet to run on my webpage that will produce a graph (with the data being read from a text file that is populated by a CRONJOB php script). I decided to go object oriented in the design having 3 classes. Anyways, ...

java.security.AccessControlException: access denied

1400 byte By someone_geniusa at 2007-10-2 9:56:47
I have a signed Applet that read file from local system.It is working fine under Sun JRE.But when I try to run on the PC that doesn抰 have Sun JRE (running using IE抯 1.1.6 JRE), it gives following error.[CODE]java.security.AccessControlException: access denied (java.io.FilePermission C:\abc.txt ...

Cutting and pasting from an unsigned applet

519 byte By Michal_Dorsetta at 2007-10-2 10:41:05
My collegue and I are accessing the same development (intranet) site from two different computers, both of us using Windows 2000, IE 6.We are accessing a server, which provides unsigned applets.I am able to copy text from the applet and paste it into a word document for example, whereas my ...

illegal URL redirect

5544 byte By sotocana at 2007-10-2 10:55:39
Hi,Yet another case where, updating to a newer version(Java 1.5) causes problems...Basically I'm getting an exception(with Java 1.4.2 it was just fine!!!):basic: Loading applet ...basic: Initializing applet ...basic: Starting applet ...basic: httpCompression = truenetwork: Connecting ...

Netscape 7.1 ok I_Explorer 6 Problem

1226 byte By JNameNotTakena at 2007-10-2 11:00:48
Hi AllI have a privately signed applet which works fine on Netscape Navigator. However it won't work on MS Explorer 6. I get the following error.Error loading class: TestAppletjava.lang.NoClassDefFoundErrorjava.lang.ClassNotFoundException: TestAppletat ...

Problem in reading xml file from server

1221 byte By memory_leak_problem_efirsthelpa at 2007-10-2 11:02:06
Hi,I am using tomcat 4.1 and jdk 1.4.All the class files and xml files are put into the one jar file.While running our application a jar file is called from jsp file. in that file we are embedded applet coding. here by i am sending my applet code with this...<OBJECT ...

Applet File search

1049 byte By yuvaraja at 2007-10-2 11:08:05
Hai give some solution to find correct path using applet below give is the applet code ,when i run this using IE ,path found is to be incorrect ,how to solve this problemimport java.io.*;import java.applet.*;import java.awt.*;import javax.swing.*;/*<applet code ="Appdemo" width=300 height ...

self certificate applet, file access under different jre issue!

700 byte By m.belleca at 2007-10-2 11:15:04
Hi,I have a jarsigner signed applet with a self certificate which seems to throw java.security.AccessControlException: access denied (java.io.FilePermission when trying to read a file from the user temp internet folder.What puzlles me is that this applet seems to work in different environment.I ...

Free Code Signing website

704 byte By komunamua at 2007-10-2 11:22:56
Dear all,I found a free Code Signing website ( http://www.ascertia.com/OnlineCA/codesign.aspx?linkID=40) and I followed their guide (How does object signing work with Ascertia Code Signing Digital IDs). In the step 4 in their guide, I met blow error message.C:> keytool 杋mport 朼lias MyCert ...

Problems with CodeBase in .java.policy

1170 byte By Miha.Vitorovica at 2007-10-2 11:38:31
Hi all,I'm having all sorts of problems with my (signed) applet and premissions.JVM 1.5.0_06I am trying all possible combinations of Codebase to make it work, and it doesn't seem to work according to the docs. Here is what tried so far:The applet is stuck in a jar file on the following URL ...

trusted applet still hasn't got permission

1753 byte By m.belleca at 2007-10-2 12:11:55
Hi,I am still getting a FilePermissionExcption when my applet is trying to read a file from IE tmp internet folder even though the applet has been signed with a trusted certificate from verisign.jre1.4.2_10java.security.AccessControlException: access denied (java.io.FilePermission ...

run every java applet locally, offline

301 byte By stratiska at 2007-10-2 12:51:53
How can I download any type of java applet and run it locally, offline in my pc? Because the most java applets run only when I am on line connected on the server. When I download them the Internet Explorer does not download the '.class' file, firefox download it but not runs ...

Class loaded inside a signed Applet does have the Applet's permissions

2789 byte By efi-germanya at 2007-10-2 12:54:20
Hi there.I am pretty new to dynmaic class loading and applet security.I have figured out how to sign an applet (with a free, "private" license) so that the user can grant it the permission to do all the prohibited things such as opening Socket connections to anywhere. It works fine.Now I ...

URLConnection and applet security

361 byte By cacia at 2007-10-2 13:09:20
Hello,I've got an applet that comunicates with a servlet with a urlConnection object. If I test de application without permissions of security (Applet Viewer ->Eclipse), the program runs perfectly, but when I test it in the server throws a security exception when the URLConnection connects ...

signing 3rd party jars problem

727 byte By codemonk99a at 2007-10-2 13:18:08
HelloI have an applet that compiles and runs fine. The 3rd party jars successfully updated the applet jar, but the problem is signing. When I try to sign it I get the following:Signing JAR: F:\Projects\applets\applets\dist\applets.jar updating: META-INF/MANIFEST.MFadding: ...

Self signed Applet - still getting Security Exception...

3398 byte By Kantaa at 2007-10-2 13:29:37
Hi everyone...I m new to Java Mail... Nd I m developing a Applet to send mail from my Gmail account, nd I used keytool, jarsigner to Self sign the applet. Nd I wrote a Html page and when calling my applet method using javascript, I m having Security Exception... And I m using Java 1.5 (i.e., ...

Choosing the right certificate for client authentication

1460 byte By fredericoa at 2007-10-2 13:33:50
Hi, allWe have an application running under BEA Weblogic. This application collects data from a Java applet that the user runs on his terminal. This java applet (correctly signed) sends information using a HTTPS connection.Our users have got three certificates: one for client authentication, ...

Two browsers and two JRE. One recognizes a certificate, but the other don't

651 byte By Igor_Zhukovskya at 2007-10-2 13:53:31
Environment:I have two browsers (Mozilla and Firefox) on my computer. Also I have JRE 1.4 and JRE 1.5.Firefox uses JRE 1.5 (the last installed JRE).After installation of JRE 1.5, Mozilla have been reconfiguredback to use JRE 1.4 (via the control panel of JRE 1.4 )Problem: If I run a signed ...

PircBot and signed applet?

3381 byte By aslanEa at 2007-10-2 13:59:48
I created an applet that can connect to a IRC server by using PircBot . This working find when I launch the applet from Netbeans. But when I do it outside Netbeans I get this exception:java.security.AccessControlException: access denied (java.net.SocketPermission uk.quakenet.org resolve)at ...

Autoaccept policy files

562 byte By Forsha at 2007-10-2 14:15:25
I have a system that has little security; no certificates/signed files at the moment - they werent necessary, historically, as the system is self-contained. I want to add a degree of security to parts of the system now and would like the client pc's to accept the newly introduced signed files ...

Problem with applet viewer and browser

2752 byte By Avinash_Ka at 2007-10-2 14:26:18
iam devloping an application where an applet should compile and run the java program .iam using the Runtime class's exe("javac "+filename) to compile and exec(" java "+filewithoutextension).i have given grantAllPermissions in the java.policy file.the applet is Helloapp the file to be complied ...

Long Delay in Signed Applet Startup

299318 byte By Martinatora at 2007-10-2 14:49:07
Hello everyone, we have been experiencing a 20 to 100 second delay in the startup of our signed print applet. The browser window with applet box come up quite quickly and then it just sits there for some time after the line "Invoking JS method: URL" has displayed in the console log (see ...

Unable to read InputStream in Signed Applet when interacting with ISA proxy

744 byte By Kurt-Javaa at 2007-10-2 14:53:45
Background info:We have an applet that we use for incremental refresh of data items.The applet model works for all but one of our customersClient info:VeriSIgn signed applet.IE 6.0 browserJava JRE version: 1.5.0_06-b05OS: Windows XP Version 2002 service pack 2Problem description:I am ...

Is it possible to give the AWTPermission to clients?

434 byte By delolWandya at 2007-10-2 14:56:44
Hi all,I am doing a project with using applet to capture the current screen and then send it to the J2EE server for the background operation. I found that I have to modified the .java.policy file in order to allow this capture function. I think that it is impossible to edit all the policy file ...

applets and jsps

467 byte By b_prasada at 2007-10-2 15:30:41
How want the following to do in applets how to do this.I want use this applet in jsp.When client clicks on the button or Browse button i want to show a Open Dialog box or Window will be opend in that window i want to show the file stored on server side(in particular folder only not all files on ...

Serial communication with Applets

478 byte By carlos.lopesa at 2007-10-2 15:33:44
Searched the forum but found nothing about this, so I'm asking...Is there a way to make an applet communicate with a serial port on a client machine? Or it would be beyond an applet's capabilities? I know that with pure java running on a machine you can, but I have to adapt that on an applet. ...

java.security.AccessControlException

5848 byte By Popola at 2007-10-2 15:39:41
Hello, I need for help, I have an applet in my jsp page in witch my trying to read the ip and the mac adress of the client. So I can read the ip of the host but I got an java.security.AccessControlException when the applet trying to read mac.What can I do ?--logsInformation R閟eau Local Syst鑝e ...

How long should it take to download a 337K applet jar?

1086 byte By Martinatora at 2007-10-2 15:53:14
Hello everyone, we have been experiencing a 2 to 3 minute delay in the startup of our signed print applet. The browser window with applet comes up quite quickly and then it just sits there for 2 to 3 minutes after the line "Invoking JS method: URL" has displayed in the console log and before ...

To get path of the user's Windows desktop from signed applet

259 byte By reswarana at 2007-10-2 16:00:56
How to get the path of the user's Windows desktop from signed applet?Actually IE returns the user's desktop folder path when I use the System.getProperty("user.dir").But Netscape and Firefox returns their home folders for the same call.

Trouble signing applet

592 byte By GreenMarinesa at 2007-10-2 16:10:44
I'm attempting to sign my .jar file with a certificate from Verisign using the instructions here: http://www.verisign.com/support/code-signing-support/code-signing/digital-id.htmlI have completed all of the steps except the last step where I recieve this error:jarsigner error: ...

Applet to access a native method

184 byte By _arunca at 2007-10-2 16:19:35
Hi, I want to create an applet which can access some native methods.Can any one tell me the procedures to be followed for doing this.Thanks in advanceArun C

UDP in applet? Why can't I get it to work? How do I assign permissions?

1115 byte By CAPTAIN_JAVAa at 2007-10-2 16:23:44
I have signed my applet, and everything is cool, but how do I let the user allow me to open UDP datagram packets? I have seen a whole bunch of stuff about policy files, but Sun doesn't expect the user to have to run some wierd policy tool right? How can it happen that the user allows me to do ...

conflict between 1.3.1_13 and 1.5

486 byte By clausrsa at 2007-10-2 16:29:55
We have an applet that requires the use of 1.3.1_13 due to vendor support requirements. The machines have 1.3.1_13, 1.4.2_08 and 1.5 installed. The applet always tries to launch using the 1.5 version of the plugin even though we have the clsid set to CAFEEFAC-0013-003-0013....If we uninstall ...

JDK 1.5 Compiled Applet not working with JRE 1.4

491 byte By ARafiquea at 2007-10-2 16:37:50
HiIf I compile my applet using JDK1.5 then this applet do not get loaded on a system using JRE1.4 however it works fine with systems having JRE 1.5. Isn't JDK 1.5 backward compatible. I am using following command to compile applet code in ANT script<javac srcdir="../../JavaSource" ...

Problem with Policy

4896 byte By El_Chinoa at 2007-10-2 16:47:23
Hi all:I have develope a JApplet. I have made a file named config.xml to provide some configuration settings to it and I most read it when the applet is loaded. After I create my policy file with the structure:grant { permission java.security.AllPermission;};and added to the security.policy at ...

Problem With Signed applet

388 byte By Jeyanth23a at 2007-10-2 16:48:12
Hi All,Have created a Signed applet, every thing is working fine but the problem is when the security warning is displayed seeking the permission for the applet to run in the client machine , even if I click " ON " the applet is executing. What could be the problem. Can anyone explain me as why ...

Security problem

3562 byte By El_Chinoa at 2007-10-2 16:54:14
Hi everybody:I'm developing an Applet that parse an ontology make a representation of it in a JTree. My applet have the following package structure: appletui |tree |utils|__ config |__ icons |__ lib appletui have the applet's class (MenuApplet.class)tree have the classes to represent the tree ...

Getting system variables

196 byte By kevinmdunnea at 2007-10-2 16:58:52
hi,Can any one tell me how to get an applet to read the 'user.home' variable. Im using System.getProperty("user.home") but applets aren't allow do this.Thanks,Kevin.

Applet Directory access

387 byte By javakida at 2007-10-2 17:02:28
HiI am considering a range of technologies with which to build an application, java applets are one of them.What I would like to know is, suppose I give a signed applet access to a directory, can I know create as many files in that directory as I want without getting the applet security to ...

File Permissions in Policy file using Wild Card

584 byte By akhilja at 2007-10-2 17:49:14
I am using unsigned applets.I am trying to dynamically generate filename and create a file with that name on a local computer.The permissions I am giving is as followsgrant { permission java.io.FilePermission "${user.home}/-", "read,write";}; -- This DOESNT WORKThis is not working. I am getting ...

Can some one quick look at this?

1253 byte By Sootsa at 2007-10-2 17:56:26
It's been a while since I've done any programming and I'm trying to figure out why this Java applet won't work:import java.io.*;import java.applet.Applet;public class Dumper extends Applet //Dumps some text into a file called stuff.txt{public static void main(String argv[]) throws ...

how to create signed applet and make it work with browser

358 byte By sriram@javaa at 2007-10-2 18:09:18
i hav an applet that needs to write a file to onto local system resource. i came to know that the applet needs to be signed. so i searched some guides to create a signed applet but most of them specify how to use it with applet viewer and not on a browser. plz help me with how to sign an applet ...

help about digital signature

308 byte By shinde_bhakti@yahoo.co.ina at 2007-10-2 18:29:11
Hello,I am doing project email sending in jsp.In this I want to send mail with digital signature.In this case I am creating public & private key using RSA.plz tell me how to create digital signature using that ...

Oracle JDBC&Applet

474 byte By Dellysa at 2007-10-2 18:34:51
Hi i try to connet may applet to oracle data base im using this connexion DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());Connection con = DriverManager.getConnection("jdbc:oracle:thin:@SABSERVER:1521:SATDB.OTALGERIE.COM", "HAM", "HAM");but i have a s閏urity ...

Calling applet from HTML

241 byte By screen143a at 2007-10-2 18:36:29
Hi,I want to run an applet on opening an HTML page which contains the <applet> tag for the applet which I want to run. Is this possible? Also how can I call the method of an applet from HTML?Regards,Prasanna

placing signed applet in web-inf/lib

286 byte By jeyanth23a at 2007-10-2 18:41:39
HiI tried placing my signed applet inside web-inf/lib, but after bit of surfing I found out that the browser will not recognize the folder web-inf. Pls let me know if this is the correct info and let me know then where or how do I place my signed applet jar.Regards

Why my signed applet continue to work?

279 byte By Yurya at 2007-10-2 18:45:04
I have written applet and signed it. I start my applet from JavaScript. I see question about trust to signed applet. I press “NO”. But my applet continue work. And I have exception during opening file. Is it possible to detect that user press “No”?

how to signed 2 class in one applet

674 byte By khifaa at 2007-10-2 18:47:37
hi, i'm learning how to signed an applet. i can signed and applet. if i want to call other class in that applet, i've also have to sign that class right? so how can i sign that applet with two jar? thank you.i use the javac ChatApp.javajar cvf ChatA.jar ChatApp.classjarsigner -keystore ...

Howto get the Certificate-Object(s) of a signed class?

208 byte By linuxhippya at 2007-10-2 19:08:14
Hi there,Is there any way to get the java.security.cert.Certificate-Object of a signed class after the class has been loaded by e.g. the AppletClassLoader?Thank you in advance, lg Clemens