<?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=JRE_Security</id>
	<title>JRE 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=JRE_Security"/>
	<link rel="alternate" type="text/html" href="https://luminoussheep.net/mediawiki/index.php?title=JRE_Security&amp;action=history"/>
	<updated>2026-04-16T19:05:08Z</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=JRE_Security&amp;diff=71&amp;oldid=prev</id>
		<title>Martin: Created page with &quot;==Byte Code Verifyer== * Checks code consistent with spec - Format of files, byte code legal * Detects inconsistencies in bounds checking/object casting  ==Security Manager==...&quot;</title>
		<link rel="alternate" type="text/html" href="https://luminoussheep.net/mediawiki/index.php?title=JRE_Security&amp;diff=71&amp;oldid=prev"/>
		<updated>2021-09-14T21:34:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Byte Code Verifyer== * Checks code consistent with spec - Format of files, byte code legal * Detects inconsistencies in bounds checking/object casting  ==Security Manager==...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Byte Code Verifyer==&lt;br /&gt;
* Checks code consistent with spec - Format of files, byte code legal&lt;br /&gt;
* Detects inconsistencies in bounds checking/object casting&lt;br /&gt;
&lt;br /&gt;
==Security Manager==&lt;br /&gt;
* Only one per runtime&lt;br /&gt;
* Uses security policy file for runtime permissions&lt;br /&gt;
* Throws AccessControlException or SecurityException&lt;br /&gt;
* -Djava.security.manager&lt;br /&gt;
&lt;br /&gt;
==Security policy==&lt;br /&gt;
* defines access privileges&lt;br /&gt;
* defines permissions e.g. file/network access &lt;br /&gt;
* default policy $JAVA_HOME/jre/lib/security&lt;br /&gt;
* -Djava.security.policy&lt;br /&gt;
* may be &lt;br /&gt;
** text policy file&lt;br /&gt;
** binary policy class&lt;br /&gt;
&lt;br /&gt;
==Keystore==&lt;br /&gt;
* Certificates are stored in a password protected database&lt;br /&gt;
* Stores&lt;br /&gt;
** public/private keys&lt;br /&gt;
** certificates&lt;br /&gt;
* Stored in file .keystore in the user&amp;#039;s home directory&lt;br /&gt;
* keytool - facilitates creating/managing/administering public/private keys and certificates for authentication/authorisation&lt;br /&gt;
* X.509 certificates&lt;/div&gt;</summary>
		<author><name>Martin</name></author>
	</entry>
</feed>