Questions tagged [signed-applet]

A privileged applet signed by the digital certificate. Privileged applets do not have the security restrictions that are imposed on sandbox applets and can run outside the security sandbox.

Java applets are loaded on a client when the user visits a page containing an applet. The security model behind Java applets has been designed with the goal of protecting the user from malicious applets.

Applets are either sandbox applets or privileged applets. Sandbox applets are run in a security sandbox that allows only a set of safe operations. Privileged applets can run outside the security sandbox and have extensive capabilities to access the client.

Applets that are not signed are restricted to the security sandbox, and run only if the user accepts the applet. Applets that are signed by a certificate from a recognized certificate authority can either run only in the sandbox, or can request permission to run outside the sandbox. In either case, the user must accept the applet's security certificate, otherwise the applet is blocked from running.

Source: The Java Tutorials ("What Applets Can and Cannot Do")

126 questions
0
votes
3 answers

Java Applet - Partially Signed?

Is it possible to sign only part of an applet? Ie, have an applet that pops up no security warnings about being signed, but if some particular function is used (that requires privileges) then use the signed jar? From what I can tell, some (perhaps…
jsight
  • 27,819
  • 25
  • 107
  • 140
0
votes
2 answers

signed applet, downloading file from server and place it in the file system

I have signed applet, I want to download any kind of file from the server and place it in the file system using the applet. Please give some pointer. Thanks in advance.
kkchaitu
  • 631
  • 2
  • 5
  • 24
0
votes
1 answer

Why access denied (java.lang.RuntimePermission setSecurityManager) in my java Applet?

I had an existing very very old java applet which use : com.al6 rxtx 2.1.7 java
user2178964
  • 124
  • 6
  • 16
  • 40
0
votes
1 answer

Applet signing information

I created a signed applet some time ago. I would now like to see with which information it is signed. How can I get these information? Simple question, I hope there is a question answer. Thanks!
Erik
  • 11,944
  • 18
  • 87
  • 126
0
votes
1 answer

Embedding a signed applet

I have a Java applet which will establish a TCP connection with a local server and get some data. I self signed the applets, and when I run the applet in netbeans it works fine, but when I try to embed the applet into a webpage, I get this error:…
Steven
  • 13
  • 4
0
votes
2 answers

Self-signed applet.. with only socket permissions?

I have a self-signed applet which gets full permissions when the user accepts the certificate. My applet only needs socket (connect/resolve) permissions. Is there any way to specify this so the user doesn't get a warning saying "this app will have…
amax
  • 1
0
votes
0 answers

Which controls are performed before downloading a signed-applet?

The problem: I'm working on a legacy project (with unreliable documentation) featuring some signed-applets, compiled with a specific jdk (1.6.0_45) that's been handed down from dev to dev along with the project. Recently, I've had to make a minor…
user14164389
0
votes
2 answers

What steps must be performed to get a applet which can work with File?

I have an applet with a function which returns a List of all Netdrives if this function is called by javascript. Currently I get a permission denied exception. Google told me: I have to sign it and create a policy file. But I am not getting…
mythbu
  • 1
0
votes
1 answer

java.util.PropertyPermission file.encoding read for signed applet

i have an applet that is called by javascript from an html page. the applet enters the value from the page to an access database. i have signed the applet but still "(java.util.PropertyPermission file.encoding read)" error is showing.. UPDATE: Ive…
axatrikx
  • 376
  • 6
  • 19
0
votes
1 answer

Granting access to signed applet not working

I have created signed applet to read file from client side. Now I have been facing problem with different roles of Operating System users. E.G. I tried a sample signed applet from the Sun site - it worked fine while I was logged on…
Sharad Ahire
  • 758
  • 2
  • 16
  • 32
0
votes
1 answer

Accept signed applets forever

If I develop a signed applet and embed it in several webpages, each visitor: Should I accept the same applet on every single webpage? Should accept it again if the user deletes the temporary internet files? Shoud accept it again if the user visits…
user411103
0
votes
1 answer

Sign java applet step by step

I'm writing a java applet that uses org.apache.commons.net.ftp.FTP to upload a file to an ftp server from a webpage the applet works in eclipse.. My project contains Uploader.java, FtpUpload_thread.java and the commons-net-2.2.jar (to import…
frx08
  • 4,222
  • 8
  • 37
  • 45
0
votes
3 answers

Signing a jar causing issue

i have following code in applet that basically writes some data to a file being passed as parameter to writeFile method() public class appletToWrite extends Applet{ public int writeFile(String asPath, String asData, int aiOverwrite) { int j =…
Varun
  • 5,001
  • 12
  • 54
  • 85
0
votes
0 answers

Is it safe to place pkcs8 and crt files in a signed jar

Will these files be protected/encrypted in a signed jar that may be distributed publicly? The intent is to have the jar run a mini web server that contains a cert for localhost.somedomain.com localhost.somedomain.com has an A record pointing to…
William W
  • 1,776
  • 6
  • 21
  • 40
0
votes
0 answers

Applet jar reload problems

Applet jar was loaded first time successfully in Web browser using netbeans. After that I reload my webpage - it shows error "Error clicks for details..." and I am configured latest Java version. How to get the applet jar to load successfully…
1 2 3
8 9