SSLSocket - How its work

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 ...

Interacting with client system using Applet

236 byte By nagarur1a at 2007-9-27 7:01:30
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

Importing Verisign Cert

508 byte By jimurbana at 2007-9-27 7:01:39
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 ...

signer information does not match signer information of other classes in...

2158 byte By fun_rajesha at 2007-9-27 7:06:27
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 ...

What is missing.

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 ...

How to secure Applet Code ?

171 byte By sradhakrishnansa at 2007-9-27 7:12:08
Hai everyone there,I would like to know how to protect the java applet class files from downloading into client machine.regards,s.radhakrishnan

Policy Files

240 byte By markbarcoa at 2007-9-27 7:12:29
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?

Signing does not work

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 ...

invoke Proxy Auto-Config functions from applet

434 byte By sojanmathewa at 2007-9-27 7:20:47
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 ...

Can you access the client system without digitally signing?

282 byte By wbrackena at 2007-9-27 7:26:01
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

Signed Applets and Weblogic JMS Fails with Security Exception

3014 byte By mphoustona at 2007-9-27 7:30:56
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, ...

Signed Applet Sends Information back to the Web Server

141 byte By davidzhyinga at 2007-9-27 7:33:05
Can anybody help me to send a database Resultset generated by a signed applet back to the Web Server ?Many thanks,David.

How can I access the Server file system without using any signed applet?

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?

signed applet in Internet Explorer 4+

490 byte By asummedinaa at 2007-9-27 7:51:04
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 ...

How to use jarsigner with an existing real certificates?

1139 byte By qingshan_luoa at 2007-9-27 8:01:15
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 ...

migrate to the Java 2 security model instead...

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 ...

AccessControlException with CachedRowSet

3568 byte By ssubedara at 2007-9-27 8:09:35
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 ...

java applet unsigned

493 byte By waqaryounesa at 2007-9-27 8:09:46
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 ...

Configuring a Certificate ?

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

applet connection to DB on remote server

592 byte By rtahriria at 2007-9-27 8:30:37
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 ...

How can we install the Java Plugin from the html page

723 byte By mariasingha at 2007-9-27 8:53:41
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" ...

im going crazy

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

I signed my applet. still getting security exception when conecting to DB

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 ...

Newbie: Help needed, please

362 byte By toriwells69a at 2007-9-27 9:34:13
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 ...

ClassCastException

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 ...

Java Console - Output Line Numbers

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 ...

Javascript to applet calls with Java Plugin

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 ...

Weird Security Issue when connecting to Server

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 ...

IS there code to avoid policy file push in a VeriSign Signed applet?

1509 byte By ajgrassoa at 2007-9-27 10:04:08
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 ...

How can a applet can read and write the local files

330 byte By weini_lua at 2007-9-27 10:04:54
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! ...

Accessing Resources in a Jar file

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 ...

Generating Private and public key using Signed Applet

368 byte By mr_imrana at 2007-9-27 10:07:39
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 ...

Need to import self-signed certificate?

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 ...

Hash algorithm support in JDK 1.3 and 1.4 (Sha1 or MD5)

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 ...

Applets not Loadng

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 ...

Runtime parameters in HTML?

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 ...

Help needed with applet permissions.

423 byte By mircea_romantana at 2007-9-27 10:26:45
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 ? ...

sign the jar file

307 byte By ShivakumarBa at 2007-9-27 10:28:49
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 ...

Does Thawte Java Developer Certificate Fix Empty Security Dialog Problem?

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 ...

applet with jsp , applet not showing image.

2328 byte By aftab_m_sa at 2007-9-27 11:02:29
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 ...

Mac signing

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 change my PC -> how can i save my key

245 byte By sylverspoona at 2007-9-27 11:20:11
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

Would this approach work?

621 byte By robertDouglassa at 2007-9-27 11:52:59
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 ...

Security Warning window didn't come up (Please help)

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 ...

applet security with microsoft and netscape

543 byte By johnmcauley1a at 2007-9-27 11:55:12
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 ...

signed applet problem with 1.3.1 but same workin in jre1.4

627 byte By an_sarkara at 2007-9-27 12:08:03
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 ...

Sumwun mus no !! Getting NT domain from within applet

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 ?

How to Intergrate Policy with applet

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 ...

Accessing DB from Applet (signed -- need policy file?)

2371 byte By jrduncans at 2007-9-27 13:32:17
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: ...

Not Signed Applets can connect to another machine?

561 byte By jiangyubao at 2007-9-27 13:32:55
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 ...