1143 byte By
veeckma at 2007-10-1 12:47:00
Good day folks.The scenario I try to implement is the following: I want to start an applet A (a small one) which then loads another jar B (a big one) and starts it. The code of applet A looks like this:[CODE] File file = new File("C:\\B.jar");JarFile jar = new JarFile(file);String mainclass = ...
I want an applet downloaded from a web server can read local files without having to modify the policy file. I have seen some signed applets (by Thawte) which can access local files without changing any policy file, but I don't know how they do it.Thanks in advance
I have problem when I use xml-security-1_2_1 library from Apache with applet and access denied errors occur. 6 May 2005 10:06:45 org.apache.xml.security.Init initSEVERE: Bad: java.security.AccessControlException: access denied (java.util.PropertyPermission ...
hi all,i am new to signed applets so please help me to work with simple example. it's urgent thanks with regardsdaya
I have a signed application that runs flawlessly under WebStart in 1.4 JDKs/JREs (on WinXP/2K, Linux and MacOS X) that refuses to run under WebStart in 1.5 JDKs (on both Windows and Linux; haven't tried on MacOS).My code is packaged as an application, not an applet, but I haven't been able to ...
hey there,i created an applet which needs read/write permission on the local and network filesystem of the machine it is started on, and also needs to connect to a mysql database located on the server.the applet was written and tested on one machine with granted access (all permission) in the ...
have completed all bussines logics and presentedof my project.However, the file upload process draws me back. Since I could not doupload without user interaction(although this is what my client want), I have decided to use applet that obtains the user file path from a JSPpage(which wouldhave ...
Hi,Can we use a Self signed applet for commercial products? I have a simple applet but that applet needs to talk to local system so I have used keytool and generated the certificate and signed the jar file using jarsigner.But I wanted to know if its legal to use a self signed applet in the ...
I am trying to call an applet method in a js file.have defined the applet in an htm file(tab.htm) and trying to access it in the js(tabstrip.js) file. The code works fine with jre 1.3.1_09, but fails with 1.4.2_x versions.Please do help as I have to transfer the entire application to jre ...
Hi I have a signed applet that usually works well in IE and Mozilla FireFox.It shows a popup window with the security question Yes/No/Always and works great thereafter.HoweverWe have now developed a Vb.Net application which hosts the SHDocVw.dll and now when for example I navigate to the web ...
I have an applet, embedded in a web page, that worked fine (and still works fine) on machines running Java 1.4.2 and below, but throws an exception on machines running version 1.5.0_0x. Specifically, I get the following exception and stack trace:java.security.cert.CertificateException: Check ...
Hi,My applet was signed with a Thawte certificat because it must access printers and TCP/IP layer.It's running in a JRE 1.3.1.The certifcate will soon expire.What will happen ?Will my applet still keep on running ?Will I be able to renew my certificate once expired or must i do it before ...
I'm porting an applet from the MSJVM environment in a signed CAB file to JDK1.5.0_03 with a signed JAR file. I've already run into the issue of calling the applet from Javascript and any methods called being untrusted regardless of the signing as they retain Javascript's untrusted status.Now ...
In the docs of Java Plug-in 1.4.2: http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/control_panel.html#signed it is said that all certificates of signed applets which jave been granted permissions for always are imported into certificate file jpicerts<version> located in ...
Reading Java Tutorial ( http://java.sun.com/docs/books/tutorial/security1.2/toolsign/receiver.html) I see that I need to create a Policy file to grant permission to applets signed by a specific certificate.But if I just add the certificate to the Java Plug-in (Certificate tab) as a Signed ...
Please i have an applet that read file from a local system and post it to the server for transaction.I have signed the applet. And have added the policy file to my server document directory. However, an attempt to create the transaction by the Client gives Access denied:java.io.FilePermission ...
Hi,I'm currently using the jre 1.42_08, and when I try to use a signed Applet with IE I have a dialog box with a warning on the signer certificate ( signer not trusted ... ) which appears.The signer certificate is in the IE certificate store.I saw that some people had the same issue with a ...
226 byte By
sbahala at 2007-10-1 14:40:55
I have a signed applet (signed by trusted CA). My grant works without the signedBy. I have tried several combinations of signedBy it does not work.If any one has syntax or what else needs to be done.Thanks
Hi all,Thanx for yu contribution on my Semi-Autofile upload.Now everything is working fine.However, my application is expected to be launched from a button click within my Client's internet banking (IB)environment thereby using the logon info in the IB for my own system authentication. To ...
How can a signed applet copy files from the codebase to the user pc?
Hi,, i need to open html file from applet, but i am unable to open the html file, please find the code and can u tell me where i did wrongimport java.applet.*;import java.awt.*;import java.awt.event.*;import java.net.*; /* <applet code="Resource.class" width="400" ...
To whomever may help with my problem:I have been trying to logon to sites and visit many webpages and I get "Click here to get the plugin" message with a light blue puzzle piece above the message. Then I follow that link to the download center, (which I don't need to do because I already have ...
Hi, I'm currently having an issue with Firefox 1.04 and Mozilla 1.7.8 on Windows XP Service Pack2, although I do not believe this problem is limited to the Firefox/Mozilla version or the OS. I have Java version 1.05.02 installed on my machine, and the Java plugin is configured to use the ...
HiI am using followin code in reading a properties file in javaProperties oProperties = new Properties();FileInputStream oInputStream = new FileInputStream("ns.properties");oProperties.load(oInputStream);Then I am creatinf a jarWhen i am executing a jar I get error as ...
My requirement is to build a self signed applet and use it over the intranet.Will i require to import keystore and change the policy file on each of users PC or there anyother way to do it ? As changing the policy file on each of user PC is a tough job or ask them to change.I also want to run ...
604 byte By
kdolan1a at 2007-10-1 16:20:38
My understanding of Java applet security says that an unsigned applet cannot copy-to or paste-from the system clipboard. However, on at least two systems at my office (but not mine) the user can highlight text in one of our applets, hit Ctrl-C and copy the text to the clipboard. All machines ...
I have a signed applet and i had problems with certifications but i solved them.Now i have a new problem with the chat , it磗 when the page is load, javascript tries to get some variables from the applet but it has磏 load jet and javascript stops.Is 1.5 slower than 1.4?How can i solve ...
I am building an applet that browses the local files of the user's computer. However, it will not load the file chooser component, because of the error appears "java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)". I was wondering if there was any ...
Hi I've been reading about signing applets here on suns homepage, but the documentation leaves me confused. What I want to do is this:I have an applet, I want to gain full systems access on the computer of the end-user that uses my applet, I'm assuming that the vast majority of the people who ...
I signed an applet and when I start it in firefox a dialog pops up asking if I want to trust the signer and if I click yes the program starts. Does this mean anything in regards to permissions i have given this applet? Does merely accepting a signed applet mean that i have given it any extra ...
i've an applet which communicates with mysql database.i made jar file for this applet. which works fine on standalone machine but gives an error on client - server - class not foundso please help me to get out of it.
Hi GuysIm trying to write a APPLET that writes a Serialized object to a SERVLET.Here's the connection code within the APPLETprivate URLConnection getConnectionToServlet() throws IOException, MalformedURLException{URL servletURL = new URL(getCodeBase(),"/ProcessServlet");URLConnection ...
I am trying to connect to a Ftp server through my applet.The applet is a Signed Applet.But I am getting the above exception. Please kindly help me.RAKESH.The Source Code is as follows/* * Created on Jun 17, 2005 * author Rakesh * TODO To change the template for this generated file go to * ...
400 byte By
armova at 2007-10-1 16:54:56
Hi, I'm developing a web based application using tomcat 5.5.8 and I'm accesing the mysql database using a signed jar applet. If I run it on my intranet from another machine (client) works just fine, but on the internet appears this exception (java.security.AccessControlException: access ...
924 byte By
bobchoa at 2007-10-1 17:11:23
Hi,first sorry, but I kann not write well English:)I have to create a Applet, who a Serial Port open and Kommands send. I'm using the IBM Comm API.The Applet is finish and I've signet my JAR-FIle with the Klasses. I've create a Policy -File for the Applet, but I thing , there is the Problem, ...
2306 byte By
tmdfana at 2007-10-1 17:14:16
I want to read XML configuration file of the local directory in the applet and I followed the following steps:1. generate key:keytool -genkey -keystore acmesoft.store -alias acmeroot2. Jar class files:jar cvf MyApplet.jar *.class3. sign the jar filejarsigner -keystore acmesoft.store ...
Hai.. Web Server : Apache Web Server . In one of my web page i have used one applet that is loaded from myapplet.jar .When i am try to access this page from client browser , for loading the jar , it is asking the user name and password .( I have given one user name and password for logging in ...
Hi,I wrote an applet that is supposed to open and read a file from its own code base. I thought applets could read files that are in their code base.Here's how I attempt to open the file: File f = new File (getCodeBase().toString()+"newfile.txt");BufferedReader r = new BufferedReader ( new ...
Hello,I unsuccessfully tried to use a SSL - certificate for signing an applet (converting from X.509 to PKCS12 prior to signing) and learned, that SSL certificates and code-signing certificates are different things (after seeking the web for ours). Can somebody point out some source of ...
1272 byte By
Boogya at 2007-10-1 17:59:40
My problem goes like this:i have a signed applet and a signed script (both valid thawte certified certificates). In JRE 1.4.2 the applet workes great, no problems. Using jre 1.5, the thing just doesn't work. All the enviroment is the same including the signed jar file.all signatures are valid ...
HiI know that the applet need to be signed to access some resources. My question is in what circumstances the applet doesn't need to be signed and still be able access the resources.Suppose my application is accessible only via the HTTPS protocol, can the applet be shipped without signing it ...
HiI have a web application that is accessible only with HTTPS protocol. One of the pages has an applet. When I try to access that page I get the error below. I can successfully access this page if I use JRE 1.3.1_16 on the client browser, but fails with this error with all 1.4.xx JREs and with ...
hi... I am dealing with the JMF web cam program..The applet works fine in DOS using appletviewer...but, it throws a socket exception that prohibits the sender program to continue loading when it is executed on web page..The sender program is running on apache server ... I've set the socket ...
I have a signed applet that used the FtpBean package to read a file from the users computer and FTP it to my server.I am getting the following error:java.security.AccessControlException: access denied (java.io.FilePermission)Before I switched to using FtpBean my applet worked fine but now it ...
489 byte By
m1945da at 2007-10-1 18:22:56
Developing an applet based on java sound demo. Signing, certs, client access all working great MOST of the time. Issue: sometimes, after clicking yes on the cert dialog, the applet comes up blank(grey- the bgcolor). No error is shown in the plugin console so I am left to think it may be an ...
416 byte By
malupa at 2007-10-1 18:25:51
Greetings, I can load a signed applet in IE using html file. I have required class files in .jar files and they are part of the ARCHIVE attribute of APPLET tag. When I try to load the applet in Linux , it's not loading. I am getting the security certificate, but applet is getting notinited. I ...
1328 byte By
siamrafa at 2007-10-1 18:43:29
Hi, I'm trying to test my applet locally, but it came up with SecurityAccesExceptions when trying to access a required config file. I've been told this is because applets are prevented from accessing files not on a server, for security etc. So I stuck everything onto my local server and gave ...
Hi all,I'm developing a drawing tool which allows user to draw, edit and save drawings. The tool is meant to be used within intranet. I'd implemented the Drawing Canvas but calls to it will only open a frame window on the server computer. I would like it to be open on calling client computer. ...
I would like to check the existance of a file from an applet. How can I achieve that? I'd tried many attempts but still fail to get an answer. Please kindly help.Below are my file structures:-folder/applet/myApplet.javafolder/appletView.jspfolder/image/image1.gifI would like to check if ...
I have been asked to create a web-based system which will use a database.Ι 've also asked to implement it with an applet.My problems have just begun.....First problem : The application It will be supposed to have access to a database.Second problem : The application must has access to ...