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
3
votes
1 answer

How can I allow Firefox (or Chrome) to read a PC's hostname or other assignable ID?

I want to be able to assign a unique name to each PC in a WAN (either in the hostname or in a local file) and somehow allow the browser to pick this information up. The rationale is that I can later trace that "transaction X was carried out on…
3
votes
2 answers

ClassNotFoundException for applet on some computers but not others -- related to operating system?

Some users report a ClassNotFoundException error with our Java applet, but others are able to use the applet without issue. We have observed that the problem seems correlated to the system's operating system. The users who can successfully use the…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
3
votes
4 answers

Can Maven re-sign dependencies?

I'm using maven-jarsigner-plugin to sign a shaded uber-jar of mine. I do need to distribute some dependencies in their own jars though, and want to take those jars from a Maven repo, clear them of any existing signatures, and sign them with my own…
DeejUK
  • 12,891
  • 19
  • 89
  • 169
3
votes
2 answers

How can I pass arbitrary system properties whose values may change to a signed Java RIA (applet, webstart) via JNLP?

Due to tighter security restrictions in 7u51, due in January, I'm trying to sign my JNLP file. Our application requires certain custom system properties to be set, and the values of some of those properties are different depending on where the…
Matt McHenry
  • 20,009
  • 8
  • 65
  • 64
3
votes
1 answer

Detect Java JAR/Code Tampering

I'm writing a piece of software that is distributed as a JAR file. Currently, this JAR file can be tampered with to retrieve and save another file that our server transmits via URLClassLoader, be decompiled, and find various things in our code that…
Clay Freeman
  • 533
  • 5
  • 17
3
votes
2 answers

signed JNLP applet hanging on load

I have an applet that worked fine a month ago but now hangs at startup. It locks up any browser so the process must be killed. It is only this single applet that is causing problems. The console log shows the jnlp file loading and reloading. Not…
jebrick
  • 339
  • 1
  • 6
  • 14
3
votes
1 answer

Applet: SocketException Unknown proxy type : HTTP

I have no problems running my applet in Eclipse, but if I sign and run it in browser this happend 10-abr-2013 19:54:37 org.apache.http.impl.client.DefaultHttpClient tryConnect INFO: I/O exception (java.net.SocketException) caught when connecting to…
Pierre Recuay
  • 83
  • 1
  • 7
3
votes
4 answers

Issues with signed applet

I am developing an Application that will perform Encryption/Decryption at client side only. I am using Spring, jdk 1.6+, and eclipse. I have developed an Applet that contain cryptographic code it looks like : public void accessToken(){ try{ …
Pravin
  • 195
  • 1
  • 4
  • 15
2
votes
4 answers

Signed Java Applet writing to a text file

I want to make an Applet write to a text file. I think have overcome the security problem with my own certificate, but the text file isn't receiving the output. My Applet can be seen at tomrenn.com/fallball, and should ask if you trust the…
MadTom
  • 95
  • 2
  • 8
2
votes
1 answer

Signed jar throwing permission exceptions with appletviewer

I'm trying to troubleshoot an issue with signed jars not working under appletviewer. My main goal is to run it outside of the browser, so I tried using appletviewer - if you have other suggestions, let me know. Here's the context: Ubuntu…
icyrock.com
  • 27,952
  • 4
  • 66
  • 85
2
votes
1 answer

java.util.PropertyPermission user.home read (Access Denied)

I have a signed applet in which i have used JFilechooser to browse file from local file system for uploading. It runs properly in windows and mac. But in linux it shows error Access Denied (java.util.PropertyPermission user.home read). I searched in…
World
  • 2,007
  • 7
  • 27
  • 37
2
votes
1 answer

Signed Java applet can not access local filesystem

I have written an applet that should compare files. It calculates a CRC32 checksum and then outputs files with the same checksum. It runs great from appletviewer and as standalone app. So I have packed and signed it. However, when I am launching…
MrAs
  • 77
  • 8
2
votes
2 answers

signed Java applet causes AccessControlException when writing files to local system

I have a Java Applet which is digitally signed. I need to be able to call a function from javascript which writes an xml file into the user folder. I have got code in the applets init function which creates a sub-folder, creates a file and appends…
R Davies
  • 105
  • 1
  • 11
2
votes
1 answer

Distinguishing signed Java applets

I have a Java applet which doesn't need any special privileges to run (i.e, it runs fine in the sandbox), but which expects the user to enter some sensitive information. Therefore, I'd like the user to be able to verify the origin of the applet. I…
oggy
  • 3,483
  • 1
  • 20
  • 24
2
votes
1 answer

JRE 1.7.0_51-b13 and signed applet

I've bought a Trusted Certificate to sign my applets, in order to prevent warnings and issues introduced by last release of Oracle JRE (1.7.0.51). Everything fine, except with an applet that use also external jars (in particular,…
Andrea Baglioni
  • 303
  • 1
  • 2
  • 20
1
2
3
8 9