Forums Register Login

Applet security - is signing all you need?

+Pie Number of slices to send: Send
Reading through the Java 2 network security pages the examples show that after you sign your jar file you need to create a java.policy file to address the particular security functions (like print to a printer, or write to a local file). I have however tested that the applet can indeed write to a file if all I do is sign the jar. I have not created a java.policy file and also deleted any existing java.policy file on my computer. I've run this locally and on a web server. I thought (and read) that signing a jar file that gives all permissions to the applet was something only in JRE 1.1. This seems to work with JRE 1.4 unless I'm missing something. Is signing the jar for JAVA 2 1.4 all I need as my examples indicate or do I have gremlins in my computer?
[ May 28, 2003: Message edited by: Jay Schrock ]
+Pie Number of slices to send: Send
Well actually it depends on the level of security set up by the administrator. For instance on win2k networks if the admin sets controls and applets to signed safe only then you need cant even to view the applet unless you have policy files and the admin installed signed certificates .
Hope that helps
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 724 times.
Similar Threads
How do I make applet that uses system event queue work in the browsers?
How to remove the message Java Applet Window
about applet signature
Signed applet
AccessControlException
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:44:06.