766 byte By
magzya at 2007-9-29 21:13:33
Hi,I need an Applet to be able to connect to sockets and use some JNI. Hence, as far as I can tell, I need to use a Policy File. In a standalone application, I have written my policy file tried it out by switching on the security manager. However I am not sure how I do this with an applet.I ...
I am having a problemn running a java applet. It runs ok on my machine but on the others he shows the folowing java console message:Exception occurred during event dispatching:java.security.AccessControlException: access denied (java.net.SocketPermission MyHost resolve) at ...
If the applet is signed and download to the computer by browser, is it stored in the computer and the browser will not re-load applet while accessing the same web page again?
Howdy all!This is likely a very basic question but since I am just starting my studies for Solaris 9 Certs, I figured this was the place to go. ;0)I am atttempting to run Sun Solaris 9 CBT courses on my Win98SE machine but am running into a problem.When the 'console' opens up where the ...
For signing an applet, is it necessary to get a digital id from a certificate provider like Verisign. If no, then what is the workaround?
Can anyone help me to create a signed applet as I have gone through a lot of the java documentation but alot of it seems to be for SDK 1.1 and the tools are now EOL.I just want to create an applet that is allowed to use the network connection functionality in the URLConnection class to write a ...
My class imports sun.awt.geom.Crossings in order to implement a similar-to-java.awt.Polygon intersects method, upon float values. This takes place in an applet. The all known error message appears in the java console:java.security.AccessControlException: access denied ...
I need to create a web application that calls methods in an existing DLL on client machines. This DLL will commincate with the serial port to send and receive info. Do I need to use a signed Applet do do this or is there another way?
225 byte By
moti-pa at 2007-9-29 22:03:22
Hello,I have a signed applet running from a jar file.I would like to execute from the applet a .exe file that is stored in the jar.Is this possible at all? And if so, how?Thanks,Moti
I am writing a small applet that will sign files to be sent over the Internet. To sign the file, the user private key is read from a local key store in a PFX file. No problem over here. The pfx file is read using the "load" method of the KeyStore class.However, after selecting another file with ...
1460 byte By
diesmoa at 2007-9-29 22:20:17
Hi!I am running a signed applet.EXPECTED BEHAVIOUR :==================== 1) BEFORE the applets loads, a message prompt for whether trust the certificate that signed the applet 2) the user click YES, NO , or ALWAYS 3) the applet is loaded by the browser either with or without secured access ...
Let me start with, I'm new to applets and security in general.I have an applet that access a DLL on my web server. When I browse to the page that includes the applet everything works great (reads data from a Java Card). The problem is when someone else goes to the same page they get:An error ...
I am very happy that My applet can link to local database after changing permission with policytool ,but my applet still have permission problems on other computer,Actually, I now hope that my applet can link to web database directly(not through Servlet/JSP)on other computer without using ...
Hi All,I have a signed applet with self signed certificate and is woking fine for saving files on client's machine.I have a functionality where a JSP page invokes a public method of applet.This adds a JRadioButtonMenuItem to an existing popup menu in applet.The problem lies with LookAndFeel of ...
please ignore the previous posting. I have an HTML form that has a textarea. I would like to send the contents in a text area to a signed applet.In the first HTML form gets the contents of the text area and calls another html form, The second HTML page(cryptojni.html) calls the signed applet. ...
663 byte By
mwiezika at 2007-9-29 23:30:53
Hi everybody! I've got to create an applet accessing a local disk. In tutorial I've read was written, that user has to make some action before launching the applet: create the keystore database, import the certificate, create the Policy File... I want my applet to be user-friendly: user has ...
2567 byte By
kbalusua at 2007-9-29 23:32:36
Hi,I have signed and deployed applets in 1.4.1. Since we have to port it to jdk 1.3.1, i have repeated the process ( recreated the certificate and signed the jar file using keytool, jarsigner shipped with jdk v 1.3.1_04). Now I am getting the java.security.cert.CertificateException: Unable to ...
Can you advise me please, where is the problem? I use signed applet to access a file on my HD - I use its method print_file(), see below.When this method is called from the init() method, it works fine = the content of a file is printed into Java Console. But when applet.print_file() is called ...
1286 byte By
yessoa at 2007-9-30 0:23:44
Hi,i have a private Key in a file named webportal.webcert.net.key. i will import them to my java keystore to sign my applet...how can i do this?the contant of this file is following--BEGIN RSA PRIVATE ...
I have converted my app to applets but it doesn't show up,On the prompt, I getting error like security blah blah blahMy Applet access my home / C Drive, If it is the problem, can somebody suggetst how I can run it successfully
923 byte By
airqqa at 2007-9-30 0:35:30
hi all,I'm using jdk1.4.2_03. Tomcat 4.1.27/29.My applet used to communicate to serlvet/JSP via http protocol. However, I wish to apply SSL in my tomcat standalone. Is there any implication towards my existing applet to servlet codes?For example, URL servletURL = new ...
Hi All, I have developed a Applet to read from local hard disk file. I have signed it. Regarding policy file i hv sm confusion.wihtout policy file also it is working. Isn't must to use policy files. If it is must how and where i will install it on other remote machines. Reg Certificates, ...
373 byte By
jbearfla at 2007-9-30 0:59:28
I have signed my Applet successfully using a self generated certificate using jdk1.3.1_06, on a Linux Redhat 7.3 box. I run this Applet as a thin client. When the client computer has jdk1.4 (tried it with _01 and _03) it brings up the Accept dialog box fine. When I try it in a client that has ...
Hi,I use the bcprov.jar to provide rijndael algorithm in my applet.The signature can't be verified, I think I have to put somewhere the certificate of bouncy castle, but where ?In addition, I can't find Bouncy Castle certificate, have you got any ideas ?Thanks a lot,Nicolas. ...
829 byte By
kanchua at 2007-9-30 1:16:48
Hello Friends,I am trying to create a signed applet using jdk 1.1.8(it's old timesback for me...), so I am trying to use the "javakey" tool that comeswith this jdk. Now, for some reason when I am doing the step ofactually signing the jar file by doing:"javakey -gs sign.directive MyApplet.jar"I ...
1) Approach - Problem 1I would like to integrate OpenWord in a web application,meaning that some objects in my web application will have related OpenWord filesand the user should be able to edit this files online.(Files should be kept on server side.)So from my web application I should have ...
Hello, friends! I'm having difficulties running an applet with jdk1.4.2. This applet was working properly with the previous version, jdk1.4.1. Perhaps I've forgotten some details or some changes in the new version. Any idea?Thank you.
I support some users that go onto a secure website and use certificates. They used the java 1.4.1 plugin and all is fine. Now they have a new machine, and the new Java plugin 1.4.2 throws up an error when you hit a button to select the certificate, runtime error line 53 bla bla bla, and at the ...
317 byte By
lubovr at 2007-9-30 2:31:28
Is it possible to add a timestamp when I'm creating new signed applet.There is a problem with the signing that after the validity period there is a warning message that the certificate is out of the date. (I never want this warning dialog, I'm signing the applet when the certificate is ...
779 byte By
lhshyong at 2007-9-30 2:35:48
Halo all, I am new in applet security, now i am trying an applet on the network and it needs grant permission, i read through many articles and now got a lot of question to ask... My main purpose is wanna try applet on the network but i dont want edit the policy file in each computer on the ...
Hi,I need to load a signed applet with applet viewer. I have done the followinglinked my policy file(which grants all permissions) to the .java.security file. Following are excerpts from files ...
760 byte By
pnrDK at 2007-9-30 3:02:35
I have followed the guide at ( http://forum.java.sun.com/thread.jsp?forum=63&thread=174214) to sign my applet, but in step 8 I get: C:\test>c:\j2sdk1.4.1_02\bin\jarsigner -verify -verbose -certs sCount.jar 71 Thu Mar 04 08:53:12 CET 2004 META-INF/MANIFEST.MF 124 Thu Mar 04 09:06:40 CET ...
Hi all, I need to sign an Applet using Verisig's SSL. First, I got a .key and .csr files from our host, then we send .csr to Verisign. we got the certificate chain from them. Now i don't know how i will sign it. My test certificates are working fine. The problem is Importing. To import i ...
574 byte By
alanmgay at 2007-9-30 3:18:33
Hi All,We provide, to our customers, a signed jar file which access a native DLL. One of our customers is creating there own applet jar file that uses the classes in our jar file, thus there is a total of two jar files: ours and theirs. If our client does not sign their applet jar file, a ...
2092 byte By
Nemi5150 at 2007-9-30 3:33:10
We have a signed applet that accesses the file system. After installing 1.4.2_04 it produces this exceptionjava.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute) at java.security.AccessControlContext.checkPermission(Unknown Source) at ...
hi all,I am calling servelt from my applet. In the status bar i got the message as MainApplet started. but i didn't get any java swing controls in my screen.Instead in the java console it shows the error like the follwoing java.io.FileNotFoundException: ...
My friends,I have a signed applet working fine in a windows server and a client with win98. When a put this applet in a AIX/Unix server in same win98 client did not work.The applet call a program in the client by Runtime.exec and a give "error=0".Someone can help me ? ...
219 byte By
aptasad at 2007-9-30 3:50:52
hi i am trying to open scokets in Applets but i am not succesful if it is due to security reistrictions then tellhow deal with security i will be very thankful to persons those help me
Here is what I am trying to accomplish:I am hosting a java applet that I wrote on my personal web domain. I want to grant access to read/write various files that are kept on the server. I'm not trying to I/O to a user's system, I simply want to be able to load and update my own data! I have ...
753 byte By
teresni at 2007-9-30 4:41:10
I seem to remember reading somewhere that if yousign an applet that requires additional privileges,if the user grants permission to that applet, thenthe needed rights do not need to be explicitlygranted in the java.policy file.I cannot get this to work. I sign an applet, getthe window asking me ...
712 byte By
luragu_ at 2007-9-30 4:49:55
HelloI always read in the previos topics about self signed certificates for test stage in development.My Question is:: What are the disadvantages about that whan i choose to take a self signed certificate later in the real internet environment. Because i develop it for a few customers and they ...
I have an Applet that has access to a database in the computer using Windows ODBC (that uses the server's database in the lan). I ran it on AppletViewer without any problems but when I try to access it from Internet Explorer it throws a java.security.AccessControlException.My applet is already ...
Hi Is it possible to do a redirect in an java applet, similar to a redirect done by javascript? And if so, could it be done fast. I.e fast enough so that a user would not se the origial page?Does anyone know a good stat page for browsers and if they support java applets?Thanks ...
1503 byte By
bnjlosh at 2007-9-30 5:12:22
I have created an applet to communicate with com1 in netbeans...it runs just fine in netbeans, but when I try to call it from javascript I get the following error message:java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetExceptionat ...
I was using an applet signed using Signcode (MSJVM). Now a days I found that Microsoft is not providing the MSJVM(Microsoft SDK for Java 4.0). I know that using this the applet will work only in IE. But if I sign using other sign tools, the applet will go to sun's site for downloading the java ...
2613 byte By
Valehru at 2007-9-30 6:00:38
Hey guys, hope someone out there can help me out with this. I am building a web application that can view and add details to a database. The information is being inputted via an applet.I am using IDL / Corba to pass the requests, i.e. the applet passes the information to a Client which in turn ...
3864 byte By
sam105 at 2007-9-30 6:07:22
Hi All,I have developed an applet-servlet application in Jbuilder9. When I run my applet from JBuilder it runs fine.So, this is what i did...I copied my package class file to D:\JBuilder9\thirdparty\jakarta-tomcat-4.1.24-LE-jdk14\webapps\examples\WEB-INF\classes and my LoginScreen.html file in ...
HelloI'm writing an applet that needs to access a specific printer on my systemI'm implementing this behaviour by looking up available print services, and searching the results for my printer. This works fine if I grant my applet AllPermissions, but I want to restrict the permissions to the ...
Hi!I've developed an Applet that needs a couple of Java extensions (Java Advanced Imaging + Image I/O Tools for JAI) in order to correctly run. I've put an appropriate MANIFEST file into my applet's JAR and signed my applet with a valid certificate. Java Advanced Imaging is shipped with an ...
527 byte By
bumpert at 2007-9-30 6:59:32
Hi, i'm using a signed applet that could read from the client hd, but i can't write. I got aException :java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\Test\fichier2 write)How can i solve this? Cause i can't modify each policy file for client... is ...