304 byte By
tomyma at 2007-9-27 6:50:40
Can somebody tell me how the SSLSocket works. Is it nesserry to use a certificate. ?I want my applet to communicate with the server application running on the server. Currently I am using Socket and serversocket classes , I want to change it to SSLSocket. ? How will i do that ?Tomy ...
Hi,I want to interact with client system and access files on his system using applet,could u suggest the way to do it or any other siurce where I can find this information.It's very urgent,pl reply soonthanq
I just received our Verisign "Java Object Signing (Class 3) Digital ID". When I try to import it I get the following error: keytool error: java.lang.Exception: Input not an X.509 certificate. The command I am using to import the cert is : keytool -import -alias pcs -file cert.cer -keystore ...
Hi,I am using Java plug in 1.3.0_02 and IE6 .I have signed my applet and its supporting classes using self signed certificate. No policy file changes. When the applet got downloaded, it gives the signer info and asks for granting permissions.Working fine till here. When permission is granted(by ...
1381 byte By
ascii1a at 2007-9-27 7:12:04
I have tried to follow Ireine's 10 step, but i dosn't work. The certificate is made, and importet whenever the browser is loaded. I use the ARCHIVE atttibuet to load my jar file. My html file looks like::Use Java-Plugin 1.3.1_02<p align="center"><a ...
Hai everyone there,I would like to know how to protect the java applet class files from downloading into client machine.regards,s.radhakrishnan
I am using WindowsNT and want to create a policy file named .java.policy ,however, windows will not allow me to create a file with a name beginning with a dot as it expects this to be preceded by a filename. How can I get round this?
511 byte By
mannuPa at 2007-9-27 7:14:29
Hi All,I have followed the steps listed on http://developer.java.sun.com/developer/qow/archive/99/ to sign an applet. I have got only one class. After each step, I get the correct message as mentioned on this site. But despite that, my applet is not able to access my system from the browser ...
hello, i heared that we can get proxy information for a URL from Proxy Auto-Config File(.pac), how can we invoke function FindProxyForURL(url, host) in the .pac file, so that i can use the returned proxy details in my java program? or, i came to know that package org.mozilla.pluglet.mozilla ...
I'm just testing, and I don't want to have to get a digital signature to test my applet. Can I just turn off security in IE or Nutscrape completely just for testing?I'm having a hard time getting the CA and stuff here at my work.Thanks in advance,Will
All,We have beaten our heads against the wall on this one for a while. We have a signed applet that subscribes to a JMS message topic. It starts up fine. We get the Grant dialog and the applet appears to be trusted (no "Java Applet Window" warning messages).When we actually receive a message, ...
Can anybody help me to send a database Resultset generated by a signed applet back to the Web Server ?Many thanks,David.
213 byte By
neavena at 2007-9-27 7:45:54
Is it possible for me to run an applet on the client machine such that the client can view my server file system and perform uploading and downloading of files through the applet without signing the applet?
I created an applet to open an excutable file whenever a user clicks the button. The applet works fine in java's appletviewer or even microsoft's appletviewer, but does not work when I use it in Internet Explorer. I created a cab file with the applet and it's class files. I digitally signed ...
I am having trouble figuring out how to use jarsigner to sign jar files with an existing real certificate. Here is what I understand as the basic steps using jarsigner:1. Use keytool -genkey to generate private/public key pair, as well as a certificate request.2. Send the certificate request to ...
370 byte By
Bertel1a at 2007-9-27 8:07:15
Since I installed Java 4 ver 1.4 on my computer, I have not been able to access my homebanking. In the Java console I get the following message:1.4.0 on Windows XPNetscape security model is no longer supported.Please migrate to the Java 2 security model instead.What does it mean, and how do I ...
Hi All,I am currently writing a Applet that uses a CachedRowSet Object. I am using a script file to create the signed jars, rejar them into one jar, then resign that jar. Then create the key, export it, import it and try it out. The script is given below:##START SCRIPT###generate keykeytool ...
Hi guys I have written a applet and compiled it under java 1.4 and I signed it with my certificate and the applet loaded fine in the browser. Now I compiled the applet with java 1.3 because I need to make the applet run in MAC os9 it compiled ok signed the applet and that was fine. When I load ...
196 byte By
jnegria at 2007-9-27 8:21:12
I have created my own CA certificate for developing, using keytool but it will expire soon.How can I create a certificate with a personal expire date ? It's possible ?Thanks
hello.On our intranet, we have an applet on a web server which performs transactions against a db placed on a different server.--We cann't use an servlet on the web server to handle the transaction between applet and DB.--Our client machines dont have permision to download or install anything ...
Hi,I am using java plugin 1.3.1_02 for my applet pages.How can I install that plugin in the client machine without installing manually.I used,<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"width="600" height="400" ...
286 byte By
bumperta at 2007-9-27 9:19:19
i had made all the step of the url http://developer.java.sun.com/developer/technicalArticles/Security/Signedand i still cant be able to write to my hd with the appletviewer and my applet!!!!please help me, im really going crazysorry for my englishthx
309 byte By
madhavpa at 2007-9-27 9:30:21
I signed my applet jar file. I am getting the prompt showing the information of the signed applet when i load this from the browser. Still i am getting security exception when i try to connect to a remote database. can u please tell me possible reason. thanks & regards,madhav ...
Hi all.I'm not new to java, but very new to java security. In fact, I've done a text editor like applet that needs to paste text from other applications. In another forum I've been told that to the applet be capable of doing so it must be signed. I've never done this before. Could someone ...
768 byte By
cobrama at 2007-9-27 9:44:27
Does anyone know why I might be getting the following output to Java Console? The output is generated by a signed applet which must access resources from a Jar file. I was having problems accessing the resources before. Could this be a similar problem? The exceptions occur in Sun's classes not ...
768 byte By
cobrama at 2007-9-27 9:44:28
Does anyone know why I might be getting the following output to Java Console? The output is generated by a signed applet which must access resources from a Jar file. I was having problems accessing the resources before. Could this be a similar problem? The exceptions occur in Sun's classes not ...
1218 byte By
davidmea at 2007-9-27 9:45:40
Hello,I'm working on getting existing applets to work with Sun's Java Plugin (v 1.3.1_03). I'm not sure how to modify calls to the applet from JavaScript. For example:document.applets[0].getClientHomeFromEnvironment();This works fine using the regular browser VM in IE or Netscape, but is not ...
755 byte By
Ondoria at 2007-9-27 10:02:15
I have written an applet that connects to a java server on the same machine and I wasnt having any problems with it until I added username and password verification. What I do is have the applet show a Frame that lets the user enter in a user name and password. After he does this the applet ...
Q: Must a digtally signed ( thus Trusted) Applet have some some security code scripts -within the applet- to read specific "out of SandBox Permission" which have been Granted in the users Java.Policy file.Actually at first I thought the applet was not finding the users Java.Policy file so I ...
I have write a applet, it need to read/write the local files system. I have modify the java.policy file such as:grant codeBase " http://202.168.0.111/vlab/*" {permission java.security.AllPermission;};202.168.0.111 is my Web server's IP adressBut it still not work!Thank you a lot! ...
1344 byte By
cobrama at 2007-9-27 10:06:41
I am having problems accessing resources in a Jar file. When I run my program (see bottom of this page) as a standalone application (which does not involve Jar files) there are no hitches and the following is output:ObjectInputStream = java.io.ObjectInputStream@13582dIf I run it as a signed ...
Hi,I am using a signed applet to create a pair of keys on the client side. In the Applet when i try to insert the provider for the generating keypairs. It gives Exceptions. I have use both IAIK and Sun RSa provider for this purpose and getting the same problem from both. I will be thankful if ...
665 byte By
vw5342a at 2007-9-27 10:11:56
I'm in the process of migrating an applet to 1.3.1_03. The latest problem I've run into is the change in security between 1.2.2 and some version of 1.3, in that, apparently, I have to import a self-signed certificate into cacerts for our intranet applet to work.Is this still true for ...
708 byte By
rohrapna at 2007-9-27 10:12:11
Hello,I have a Netscape code signing certificate that support "SHA1WithRSA" as signature algorithm.After signing my applet code using Netscape's signtool, I am able to successfully verify it and run it under JavaPlugIn 1.4. But while running it under JavaPlugIn 1.3.1, it seems it is not ...
2140 byte By
awdhila at 2007-9-27 10:14:03
The applets of any web site dont load in my browser. I have Norton Personal Firewall 2002 installed in my sys. I tried to open the page with the firewall disabled. Same result. We are using ISA firewall for Internet.Applets from the Sun site also do not load. This is output i get on the Java ...
573 byte By
vw5342a at 2007-9-27 10:26:25
Is there a way to define the Java runtime parameters within HTML (and not the plug-in parameter text box)? I'm attempting to not touch the client machine at all when running our Java applet (using plug-in 1.3.1_03 in an IE environment).What I could do (and will use as a backup) is have an ...
Hi all, I originaly posted this in Java Programming, but I guess this is more the forum I want.here's what I'm up against.I have an applet that should be able to access the system clipboard.Does this involve security permissions and in what way ?Would this involve the signing of the applet ? ...
i am trying to develope a signed applet,when trying to Sign the jar file using the jarsigner command in my working directoryi get Exception in thread 'main' java.lang.InternalError:jzentry ==0can anyone tell me why this probelm might be and how can overcome ...
717 byte By
zwiersja at 2007-9-27 10:48:46
I have encountered the well-documented empty security dialog bug ( http://developer.java.sun.com/developer/bugParade/bugs/4631425.html) with Plug-in 1.3.1_02.Because I use a Thawte Multi-Purpose certificate to sign the JAR with Netscape's Signtool, I wonder... if I were to get a Java Code ...
The applet is not showing image on applet when running through following url. Remember It runs on my pc when not connected to internet.the following two links for same inker.jar file.not ok not running=>" http://mycgiserver.com/~aftmycgijsp/jhan3.jsp"ok ...
158 byte By
fifty56a at 2007-9-27 11:06:31
Hi All,I would like to sign my applet then launch it undec Mac OS 9. Is there any technology for this purpose?Regards,Gabor Bartha
I made i applet withc is signed with a personnal key. But i must change my PC ! how can i move the key from the old PC to the new one ?in brief where is the key generated by the keytool command and use with jarsigner ?Thanks
I'd like my applets to have local read/write permission, and the clients I need to reach run IE5.5 or greater and have no jre installed, so I'm limited to the MS jvm. I want the user to only have to accept my certificate in the certificate dialog for my applets to have this permission - I ...
2564 byte By
bnsbra at 2007-9-27 11:54:26
I have one signed applet that works fine in 99% of my clients pcs. It is signed with VeriSign ceritificate. It is distributed in signed jar and cab files for both IE and NS. The problem occur in clients that use IE. I get one SecurityExceptionEx when trying to create one directory on client ...
Hi folks,I have written an applet, which i want to run with the commercial browsers such as Imternet explorer. The applet may access certain files on the users/client machine. I have the unsigned applet working perfectly jdk1.4 under appletviewer by following sun's tutorial i.e. security ...
Hi,I have performed the following steps to sign an applet1. javac search.java2. jar cvf Search.jar *.class3. keytool -genkey -alias signFiles -keystore abs_stores -keypass123456 -storepass 1234564. jarsigner -keystore abs_stores -storepass 123456 -keypass 123456 -signedjar SignedSearch.jar ...
151 byte By
uoapsdba at 2007-9-27 12:19:54
You can get the NT users name using System.getProperty("user.name") but is there a way of getting the NT domain that the user is logged on to ?
546 byte By
easana at 2007-9-27 13:13:03
hi my name is easan. I created an applet which reads and writes to a file but i had problems accessing the file. I solved that by granting read and write permission to the file by creating a policy. I can run the applet in the appletviewer using this line c:\>appletviewer ...
I'm trying to find out what it takes to use an applet to connect to a database (in this case MS SQL Server 2000). I have the MS SQL Server 2000 JDBC Driver. I have the program functioning as an application, so I believe the only issue is that of security. Using this info: ...
hi, guys,I developed a java applet, which will connect to different machine.so the local machine will grant the applet some permissions.I did not use signed applet and want to make thing easier.In the policy file: I addgrand {permission java.security.AllPermission };It works.but when I want to ...