<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chris Pirillo &#187; java-vm</title>
	<atom:link href="http://chris.pirillo.com/tag/java-vm/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris.pirillo.com</link>
	<description>News and Reviews! Geek, Internet Entrepreneur, Hardware Addict, Software Junkie, Book Author, Once TV Show Host, Technology Enthusiast, Shameless Self-Promoter, Tech Conference Coordinator, Early Adopter, Idea Evangelist, Tech Support Blogger, Bootstrapper, Media Personality, Technology Consultant, Thicker Quicker Picker Upper.</description>
	<lastBuildDate>Wed, 15 Feb 2012 00:38:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Java Security Video</title>
		<link>http://chris.pirillo.com/java-security-video/</link>
		<comments>http://chris.pirillo.com/java-security-video/#comments</comments>
		<pubDate>Sun, 26 Aug 2007 23:55:37 +0000</pubDate>
		<dc:creator>Chris Pirillo</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java-vm]]></category>

		<guid isPermaLink="false">http://chris.pirillo.com/2007/08/26/java-security-video/</guid>
		<description><![CDATA[<p><p><a href="http://chris.pirillo.com/java-security-video/">Java Security Video</a></p><p>Chris K. just watched the podcast on Java security, and was (thankfully) able to put a finer point on it. Not to mention, clarifying a misspoken URL: The way Java runs is that it has a JVM (Java Virtual Machine), and commands in Java are sent to these VM. The VM, which is coded for [...]</p></p><p><a href="http://chris.pirillo.com/java-security-video/">Java Security Video</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://chris.pirillo.com/java-security-video/">Java Security Video</a></p><p>Chris K. just watched the podcast on <a href="http://chris.pirillo.com/media/2007/08/25/installing-java-for-security-updates/">Java security</a>, and was (thankfully) able to put a finer point on it. Not to mention, clarifying a misspoken URL:</p>
<blockquote><p>The way Java runs is that it has a JVM (Java Virtual Machine), and commands in Java are sent to these VM. The VM, which is coded for each OS, sends the code to the processor after translating it. The processor then performs the action. </p>
<p>For example, on Mac: new BadGuy(); -&gt; Mac OS -&gt; JVM -&gt; Translation -&gt; Processor -&gt; Performs -&gt; Reserves spot in RAM for the new BadGuy. The same applies on Windows or Linux, or anything else you care to name.</p>
<p>In some cases, Java doesn&#8217;t use a JVM, instead using a physical hardware chip, installed directly on the motherboard in most cases. The code will go to this chip instead of the JVM, and then is sent directly to the processor. This is many times faster in most cases. When you download the newest Java, it will either install the latest firmware upgrade for the chip in your computer, or it will install the JVM (or sometimes both). </p>
<p>Java is one of the most secure programming languages. It has several layers of security:</p>
<ul>
<li>A compiler won&#8217;t be able to compile code that accesses the files on the computer in any way. It can make a stand-alone application with a specific kind of compiler, but then it won&#8217;t be web-usable (it is not like flash in the sense that you can put anything on the web, or off the web; it has to be specially coded for an applet. Of course, you could use a rouge compiler, but that brings us to our next layer of security. </p>
<li>The JVM, or the firmware on the chip, will stop any access to files through applets, and will warn the user, and ask permission. This prevents even a rouge compiler from compiling &#8220;bad&#8221; code.
<li>The final layer of security falls to the operating system, which the code goes through.<br />
Can you make a Java application that deletes all of the files on your computer? Hell yes! Can you make an applet? No. Java applets are completely blocked from modifying files on your computer, unless they have a certificate from VeriSign, etc.
</ul>
<p>However, can you make a .exe (or Mac application) that deletes everything on your computer? Yes, you can. For the most part, Java is very secure, and if you don&#8217;t upgrade, you still are just as secure, because any new code on an updated compiler won&#8217;t run, so there&#8217;s no change of an exploit with new compilers. (PS: It&#8217;s java.sun.com, not sun.java.com as you said in your podcast)</p></blockquote>
<p><center><object width="425" height="353"><param name="movie" value="http://www.youtube.com/v/apTEFUdCSdY"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/apTEFUdCSdY" type="application/x-shockwave-flash" wmode="transparent" width="425" height="353"></embed></object></center></p>
<p><a href="http://chris.pirillo.com/java-security-video/">Java Security Video</a></p>]]></content:encoded>
			<wfw:commentRss>http://chris.pirillo.com/java-security-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/11 queries in 0.901 seconds using disk: basic
Object Caching 450/463 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: s3.pirillo.com

Served from: chris.pirillo.com @ 2012-02-14 17:32:20 -->
