<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://luminoussheep.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Applet_Security</id>
	<title>Applet Security - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://luminoussheep.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Applet_Security"/>
	<link rel="alternate" type="text/html" href="https://luminoussheep.net/mediawiki/index.php?title=Applet_Security&amp;action=history"/>
	<updated>2026-04-16T19:03:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://luminoussheep.net/mediawiki/index.php?title=Applet_Security&amp;diff=72&amp;oldid=prev</id>
		<title>Martin: Created page with &quot;References: * http://web.archive.org/web/20071012223011/http://java.sun.com/sfaq/ * http://java.sun.com/javase/6/docs/technotes/guides/jweb/applet/applet_execution.html  ==Sig...&quot;</title>
		<link rel="alternate" type="text/html" href="https://luminoussheep.net/mediawiki/index.php?title=Applet_Security&amp;diff=72&amp;oldid=prev"/>
		<updated>2021-09-14T21:35:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;References: * http://web.archive.org/web/20071012223011/http://java.sun.com/sfaq/ * http://java.sun.com/javase/6/docs/technotes/guides/jweb/applet/applet_execution.html  ==Sig...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;References:&lt;br /&gt;
* http://web.archive.org/web/20071012223011/http://java.sun.com/sfaq/&lt;br /&gt;
* http://java.sun.com/javase/6/docs/technotes/guides/jweb/applet/applet_execution.html&lt;br /&gt;
&lt;br /&gt;
==Signed applets==&lt;br /&gt;
User will be asked if they want to accept the applet&lt;br /&gt;
&lt;br /&gt;
Signed applet may access files depending on security policy file&lt;br /&gt;
?java.policy?&lt;br /&gt;
&lt;br /&gt;
Signed applets get access to everything - all or nothing approach.&lt;br /&gt;
&lt;br /&gt;
JNLP (similar to webstart) allows finer grained control - this is a full installation of an application.&lt;br /&gt;
&lt;br /&gt;
=Restrictions=&lt;br /&gt;
Don&amp;#039;t apply if the applet is on the browsers class path&lt;br /&gt;
&lt;br /&gt;
* may not read and write files&lt;br /&gt;
* may not load libraries on the client&lt;br /&gt;
* may not load or run native code/libraries&lt;br /&gt;
* not allowed to exec processes&lt;br /&gt;
* not allowed to exit the virtual machine&lt;br /&gt;
* are passed through the byte code verifier &lt;br /&gt;
* may not print&lt;br /&gt;
&lt;br /&gt;
==Policy Files==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Control File&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* $JAVA_HOME/jre/lib/security/&lt;br /&gt;
separate policy filesor each applet in ${java.home}lib/security/java.security file:&lt;br /&gt;
  policy.url.3=&amp;lt;url&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Network access ==&lt;br /&gt;
Only allowed to connect to the machine the applet was loaded from&lt;br /&gt;
&lt;br /&gt;
Name must match the name in the URL downloaded from&lt;br /&gt;
&lt;br /&gt;
==Access to files==&lt;br /&gt;
Can not access files by default&lt;br /&gt;
&lt;br /&gt;
== System properties==&lt;br /&gt;
Only allowed access to the following properties:&lt;br /&gt;
  java.version		Java version number&lt;br /&gt;
  java.vendor		Java vendor-specific string&lt;br /&gt;
  java.vendor.url	Java vendor URL&lt;br /&gt;
  java.class.version	Java class version number&lt;br /&gt;
  os.name		Operating system name&lt;br /&gt;
  os.arch		Operating system architecture&lt;br /&gt;
  os.version	        Operating system version&lt;br /&gt;
  file.separator	File separator (eg, &amp;quot;/&amp;quot;)&lt;br /&gt;
  path.separator	Path separator (eg, &amp;quot;:&amp;quot;)&lt;br /&gt;
  line.separator	Line separator &lt;br /&gt;
&lt;br /&gt;
==Persist data==&lt;br /&gt;
Can use connection to server to persist information&lt;/div&gt;</summary>
		<author><name>Martin</name></author>
	</entry>
</feed>