<?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>haslo.ch - Guido's Blog &#187; security</title>
	<atom:link href="http://www.haslo.ch/blog/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.haslo.ch/blog</link>
	<description>We believe that people with passion can change the world for the better.</description>
	<lastBuildDate>Sun, 07 Mar 2010 17:58:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubisoft DRM Already Cracked</title>
		<link>http://www.haslo.ch/blog/ubisoft-drm-already-cracked/</link>
		<comments>http://www.haslo.ch/blog/ubisoft-drm-already-cracked/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 16:49:54 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Video Games]]></category>
		<category><![CDATA[drm]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[piracy]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[video games]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=3039</guid>
		<description><![CDATA[As expected, there has been a zero-day exploit for Ubisoft&#8217;s new shiny DRM (see my last post), in the newly released game Silent Hunter 5.
Well, it was not totally zero-day, since it took slightly more than 24 hours, apparently. Still, indeed it is now the case that the only ones suffering from the whole &#8220;you [...]]]></description>
			<content:encoded><![CDATA[<p>As expected, there has been a zero-day exploit for Ubisoft&#8217;s new shiny DRM (see <a href="http://www.haslo.ch/blog/pc-the-platform-with-rampant-drm/">my last post</a>), in the newly released game <a href="http://silent-hunter.uk.ubi.com/silent-hunter-5/">Silent Hunter 5</a>.</p>
<p>Well, it was not totally zero-day, since it took slightly more than 24 hours, apparently. Still, indeed it is now the case that the only ones suffering from the whole &#8220;you have to be online all the time or we&#8217;ll kick you out of your offline game&#8221; thing are the legit customers, while pirates gladly ignore such silly limitations.</p>
<p>The source (on <a href="http://www.infoaddict.com/ubisofts-new-drm-cracked-in-under-25-hours">InfoAddict</a>, via <a href="http://playnoevil.com/serendipity/index.php?/archives/2867-Ubisoft-DRM-broken-or-not.html">PlayNoEvil</a>) states:</p>
<blockquote><p>Now  that the news has spread like wildfire, Ubisoft is finally issuing a  response and it is predictably vague. So vague that I am inclined to  believe their statement doesn’t hold much water or truth.  Is it  possible some aspect of the game is missing? Sure. Is it likely? No, not  given how Ubisoft designed Silent Hunter V, meaning it’s not an MMO and  it’s world doesn’t exist on a 3rd-party server. If Ubisoft really wants  to defeat piracy, may I suggest that your next game be called Silent  Hunter Online? Problem solved.</p></blockquote>
<p>Indeed. Yes, for online games, it makes sense that you need an online connection. For offline games, absolutely not so much. Worst case is that some encrypted content needs to be streamed from the online servers in order for the offline game to work, but even that can be emulated by a dedicated cracker as well (and it requires faster internet connections than mere keep-alive pings that are a more probable implementation of such a feature).</p>
<p>Anyway. Ubisoft of course <a href="http://www.vg247.com/2010/03/04/ubi-claims-cracked-pc-drm-reports-are-false/">claims the games won&#8217;t work at all anyway</a>. We&#8217;ll see what the next days hold, I might update this post or even write a new one if fundamentally new things show up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/ubisoft-drm-already-cracked/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PC: The Platform with Rampant DRM</title>
		<link>http://www.haslo.ch/blog/pc-the-platform-with-rampant-drm/</link>
		<comments>http://www.haslo.ch/blog/pc-the-platform-with-rampant-drm/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 12:55:16 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Video Games]]></category>
		<category><![CDATA[drm]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[piracy]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[video games]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=2996</guid>
		<description><![CDATA[Yeah, it&#8217;s horrible. DRM is rampant on the PC.
Most recent example: Ubisoft. There is a good article on Rock Paper Shotgun about this. What they have announced to do is the following: With every future Ubisoft game, whether it&#8217;s single player or multiplayer, online or offline, boxed with a CD or delivered via download, you [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah, it&#8217;s horrible. <a href="http://en.wikipedia.org/wiki/Digital_rights_management">DRM</a> is rampant on the PC.</p>
<p>Most recent example: <a href="http://www.google.ch/search?q=ubisoft+drm">Ubisoft</a>. There is a good <a href="http://www.rockpapershotgun.com/2010/02/19/drmogeddon-part-2/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+RockPaperShotgun+%28Rock%2C+Paper%2C+Shotgun%29&amp;utm_content=Bloglines">article on Rock Paper Shotgun</a> about this. What they have announced to do is the following: With every future Ubisoft game, whether it&#8217;s single player or multiplayer, online or offline, boxed with a CD or delivered via download, you will <a href="http://www.computerandvideogames.com/article.php?id=235290">constantly need an online connection</a> in order to keep playing the game.</p>
<div id="attachment_3012" class="wp-caption alignright" style="width: 160px"><a href="http://www.haslo.ch/blog/wp-content/uploads/2010/02/Ubisoft_DRM.jpg"><img class="size-thumbnail wp-image-3012 " title="Ubisoft's DRM in action" src="http://www.haslo.ch/blog/wp-content/uploads/2010/02/Ubisoft_DRM-150x94.jpg" alt="Ubisoft's DRM in action" width="150" height="94" /></a><p class="wp-caption-text">Ubisoft&#39;s DRM in action</p></div>
<p>In other words: Even if it&#8217;s a pure single player offline experience, you will constantly need to be online. If for some reason (shaky WiFi, ISP hickups, flatmate downloads too much stuff, Ubisoft&#8217;s servers have problems) you lose your connection for a moment, you are also dropped out of your game and (at least in some games) lose all the unsaved data. (<a href="http://www.computerandvideogames.com/viewer.php?mode=article&amp;id=226934">Image source</a>)</p>
<p>Ubisoft also does talk around the issue that in five or ten years, their licensing servers for a game might be offline. As a sidenote, in the case of EA, <a href="http://www.actiontrip.com/link.phtml?http://www.ea.com/2/service-updates">servers shutdowns happen nearly every year</a>. Ubisoft do not fully commit to promising a patch that will remove the online shackles (<a href="http://www.computerandvideogames.com/article.php?id=235596">Source</a>):</p>
<blockquote><p><strong>PCG:</strong> So you can commit to saying that  those systems will be patched out?<br />
<strong>Ubisoft:</strong> That&#8217;s the plan.<br />
<strong>PCG:</strong> It&#8217;s the plan, or it&#8217;s definitely going to happen?<br />
<strong>Ubisoft:</strong> That&#8217;s written into the goal of the overall plan of the  thing. But we don&#8217;t plan on shutting down the servers, we really don&#8217;t.</p></blockquote>
<p>I trust the developers that they don&#8217;t want to shut these things down. But I don&#8217;t trust the management that they won&#8217;t. After all, they get nothing out of second-hand sales, and they can stiffle those if only more recent titles actually work at all.</p>
<p><span id="more-2996"></span></p>
<div id="attachment_3019" class="wp-caption alignright" style="width: 160px"><a href="http://www.haslo.ch/blog/wp-content/uploads/2010/02/Cogs.jpg"><img class="size-thumbnail wp-image-3019" title="Cogs, great indy game on Steam" src="http://www.haslo.ch/blog/wp-content/uploads/2010/02/Cogs-150x117.jpg" alt="Cogs, great indy game on Steam" width="150" height="117" /></a><p class="wp-caption-text">Cogs, great indy game on Steam</p></div>
<p>Now, a common argument appears to be &#8220;but <a href="http://store.steampowered.com/about/">Steam</a> does the same&#8221;. And I love Steam. But it has a few fundamental differences to this incoming Ubisoft system:</p>
<ul>
<li>You&#8217;re only kicked out of actual <em>online</em> games if you lose the connection to the <em>game</em> server (and not the Steam server &#8211; the latter doesn&#8217;t have any serious impact whatsoever) &#8211; so Steam does not affect your capability to play games.</li>
<li>There is an <a href="https://support.steampowered.com/kb_article.php?ref=3160-AGCB-2555">offline mode</a>, which always worked a treat for me in the rare occasions where I&#8217;m offline.</li>
<li>Steam uses the fact that it&#8217;s online for great benefit: automatic background updates, digital content delivery, online save data (well, Ubisoft plans that as well), community features across games (with text and voice chat), all with a very easy-to-use interface.</li>
<li>Steam is open for games from other developers, and notably, indie developers who gain a way bigger exposure to an interested audience through the system. Without Steam, I would have missed out on <a href="http://store.steampowered.com/app/26500/">Cogs</a>, <a href="http://store.steampowered.com/app/46000/">Bob Came in Pieces</a>, <a href="http://store.steampowered.com/app/18500/">Defense Grid</a>, or <a href="http://store.steampowered.com/app/26800/">Braid</a>.</li>
</ul>
<div id="attachment_3023" class="wp-caption alignleft" style="width: 155px"><a href="http://www.haslo.ch/blog/wp-content/uploads/2010/02/VoteWithWallet.jpg"><img class="size-thumbnail wp-image-3023" title="Vote with your Wallet" src="http://www.haslo.ch/blog/wp-content/uploads/2010/02/VoteWithWallet-145x150.jpg" alt="Vote with your Wallet (Source unknown)" width="145" height="150" /></a><p class="wp-caption-text">Vote with your Wallet</p></div>
<p>Ubisoft&#8217;s feature only does one thing: It makes it harder for legitimate customers to play the game. As i wrote <a href="http://arathor.net/index.php?showtopic=18424&amp;hl=ubisoft#entry421709">elsewhere</a>: Since no server connection is required at all, it&#8217;s just another small  hoop crackers have to go through, and no change at all for pirates. On  the other hand, it <em>is</em> a big change for legitimate customers. Yet  again, legitimate customers are punished for piracy.</p>
<p>Piracy is merely <a href="http://www.penny-arcade.com/comic/2010/2/19/">a strawman argument</a>. It shouldn&#8217;t convince anyone.</p>
<p>If it would actually make game piracy harder, I might understand it a slight bit. But it doesn&#8217;t: Cracks and patches will be out within a week tops, patching out the online requirement for pirates. Essentially making the game a better product for non-legitimate customers. They even have an internal schedule for about when the game will be cracked (<a href="http://www.computerandvideogames.com/article.php?id=235596">Source</a>):</p>
<blockquote><p><strong>Do Ubi believe this DRM is  unhackable? </strong><br />
They accept that it&#8217;s all DRM&#8217;s fate to be  eventually hacked, explaining that internally, they&#8217;ve already talked of  a timescale for how long their games will be protected by it. But, they  believe that it&#8217;s secure enough for them. &#8220;We wouldn&#8217;t do it if we  didn&#8217;t believe in it. The guys who designed it believe in it. Do we  think that it&#8217;s the one system that God has sent onto earth that will  never be cracked by anybody ever? We can&#8217;t guarantee that, but we  believe in it.  &#8221;</p></blockquote>
<p>Well, I really looked forward to the new, back-to-the-roots, <a href="http://prince-of-persia.uk.ubi.com/">Prince of Persia</a> games. Looks like I won&#8217;t buy them, completely unlike all but two (1999, 2008) of the <a href="http://en.wikipedia.org/wiki/Prince_of_Persia">previous ones</a>.</p>
<p>I have one thing to say really: Vote with your wallet. If you run into this post after having bought a broken product like that, return the game. Ubisoft will only stop hurting you if you don&#8217;t encourage them to.</p>
<p><strong>Disclaimer:</strong> Even though some of the contents of this post make it reasonable to believe that I advocate piracy: I don&#8217;t. I also do not play pirated games, or use pirated software &#8211; it&#8217;s a matter of ethics for me, being both a developer and an aspiring philosopher myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/pc-the-platform-with-rampant-drm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swiss RFID Referendum: Nearly There!</title>
		<link>http://www.haslo.ch/blog/swiss-rfid-referendum-nearly-there/</link>
		<comments>http://www.haslo.ch/blog/swiss-rfid-referendum-nearly-there/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 09:43:38 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[switzerland]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=1457</guid>
		<description><![CDATA[We&#8217;re nearly there, but the referendum against biometric Swiss passports is still lacking 4&#8242;500 signatures, and there&#8217;s only a few days left. So if you haven&#8217;t printed, signed, and sent in a signature sheet yet, please do so now!
In short, again, the reasons why I think biometric passports as per the current proposal are not [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://freiheitskampagne.ch/"><img class="size-full wp-image-1129 alignleft" title="RFID Banner" src="http://www.haslo.ch/blog/wp-content/uploads/2008/09/rfid_banner.jpg" alt="RFID Banner" width="150" height="131" /></a>We&#8217;re nearly there, but the <a href="http://freiheitskampagne.ch/">referendum against biometric Swiss passports</a> is <strong>still lacking 4&#8242;500 signatures</strong>, and there&#8217;s only a few days left. So if you haven&#8217;t printed, signed, and sent in a <a href="http://freiheitskampagne.ch/Unterschriftenbogen5.pdf">signature sheet</a> yet, please do so now!</p>
<p>In short, again, the reasons why I think biometric passports as per the current proposal are not reasonable:</p>
<ul>
<li><strong>Too open access</strong> to the collected data, private institutions and foreign governments can access it without notice</li>
<li><strong>Privacy</strong> goes out the window when you can be tracked everywhere</li>
<li>RFID is <strong>readable from meters</strong> away without line of sight</li>
<li>Current RFID <strong>encryption is not secure</strong>, your passport can be read by crooks</li>
<li>The only reason why the Swiss government wants those passports is <strong>because the USA told us so</strong></li>
</ul>
<p>I expanded upon all of those points in <a href="http://www.haslo.ch/blog/stop-rfid-in-swiss-passports/">my earlier post</a>.</p>
<p>Please, do something while you still can! <a href="http://freiheitskampagne.ch/Unterschriftenbogen5.pdf">Sign the referendum</a> now. You will have to have your signatures verified already, meanwhile, <a href="http://freiheitskampagne.ch/">as they write</a>:</p>
<blockquote><p>Senden Sie uns jetzt keine <strong> UNBEGLAUBIGTEN</strong> Bögen mehr. <strong>Gehen Sie mit den Bögen die Sie bis am Montag, 29.9. noch ausfüllen können direkt auf die zuständige Gemeindeverwaltung um die Unterschriften beglaubigen zu lassen</strong>. Oder senden Sie die Unterschriftenbögen <strong>DIREKT</strong> an die zuständige Gemeindeverwaltung.</p></blockquote>
<p>You will then need to send <a href="http://freiheitskampagne.ch/Stimmrechtsbescheinigung.pdf">this cover letter</a> along.</p>
<p><strong>Update:</strong> We&#8217;re there, voting will be May next year or so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/swiss-rfid-referendum-nearly-there/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Help! Terrorists in World of Warcraft!</title>
		<link>http://www.haslo.ch/blog/help-terrorists-in-world-of-warcraft/</link>
		<comments>http://www.haslo.ch/blog/help-terrorists-in-world-of-warcraft/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 14:20:19 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[america]]></category>
		<category><![CDATA[conspiracy theories]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[real life]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[terrorism]]></category>
		<category><![CDATA[video games]]></category>
		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=1305</guid>
		<description><![CDATA[Avast, me hearties! I played me fair share o&#8217; World o&#8217; Warcraft, enough t&#8217; know &#8216;t’s incredibly addictive, an&#8217; enough t&#8217; know &#8216;t’s nay good fer me when I do. Which, I guess, won’t avast me from tryin&#8217; ou&#8217; Wrath o&#8217; th&#8217; Lich King an&#8217; th&#8217; new Davy Jones&#8217; locker Knight class anyway when &#8216;t [...]]]></description>
			<content:encoded><![CDATA[<p>Avast, me hearties! I played me fair share o&#8217; <a href="http://www.worldofwarcraft.com/index.xml">World o&#8217; Warcraft</a>, enough t&#8217; know &#8216;t’s incredibly addictive, an&#8217; enough t&#8217; know &#8216;t’s nay good fer me when I do. Which, I guess, won’t avast me from tryin&#8217; ou&#8217; <a href="http://www.worldofwarcraft.com/wrath/">Wrath o&#8217; th&#8217; Lich King</a> an&#8217; th&#8217; new <a href="http://deathknight.info/">Davy Jones&#8217; locker Knight class</a> anyway when &#8216;t comes ou&#8217;.</p>
<p>Yes, that just was my meager tribute to today&#8217;s <a href="http://www.talklikeapirate.com/">Talk like a Pirate Day</a> <img src='http://www.haslo.ch/blog/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' title="Help! Terrorists in World of Warcraft!" /> </p>
<div id="attachment_1323" class="wp-caption alignleft" style="width: 160px"><a href="http://www.haslo.ch/blog/wp-content/uploads/2008/09/cia-paranoia_11.jpg"><img class="size-thumbnail wp-image-1323" title="Pentagon paranoia ingame map" src="http://www.haslo.ch/blog/wp-content/uploads/2008/09/cia-paranoia_11-150x150.jpg" alt="Ingame Map" width="150" height="150" /></a><p class="wp-caption-text">Ingame Map</p></div>
<div id="attachment_1309" class="wp-caption alignright" style="width: 160px"><a href="http://www.haslo.ch/blog/wp-content/uploads/2008/09/cia-paranoia_2.jpg"><img class="size-thumbnail wp-image-1309" title="Pentagon paranoia, overlaid Washington map" src="http://www.haslo.ch/blog/wp-content/uploads/2008/09/cia-paranoia_2-150x150.jpg" alt="Washington Map" width="150" height="150" /></a><p class="wp-caption-text">Washington Map</p></div>
<p>It&#8217;s a fact that there&#8217;s 10 million WoW players (<a href="http://www.blizzard.com/us/press/080122.html">by official count</a>), and that not all ingame chat is about the game itself. It&#8217;s also a fact however that some CIA folks have seen too many conspiracy movies. You might have heard about it: A Pentagon researcher <a href="http://blog.wired.com/defense/files/OSC-TOAVS.ppt">gave a presentation early this month</a> (via <a href="http://blog.wired.com/defense/2008/09/world-of-warcra.html">Wired</a>, <a href="http://www.heise.de/newsticker/US-Geheimdienste-Terroristen-koennten-Online-Rollenspiele-zur-Planung-von-Anschlaegen-nutzen--/meldung/116055">heise</a>), where he alerted the world to the inherent dangers in such online worlds: Jargon! Coded messages! To the left, you see an ingame map, to the right the overlaid secret attack plan. <strong>Boo!</strong></p>
<p><span id="more-1305"></span>Now &#8230; yes. Of course, this is theoretically possible. Of course terrorists could forfeit <a href="http://www.gnupg.org/">encrypted mails</a>, a private <a href="http://www.ventrilo.com/">Ventrillo</a> server, or some other secure means of communication, in favour of in-WoW chat. But it&#8217;s a prime example of a movie plot threat, <a href="http://www.schneier.com/essay-087.html">a term coined by security expert Bruce Schneier</a>. He clearly illustrates why defending against those is a very bad idea:</p>
<blockquote><p>The problem with movie plot security is that it only works if we guess right. If we spend billions defending our subways, and the terrorists bomb a bus, we&#8217;ve wasted our money. To be sure, defending the subways makes commuting safer. But focusing on subways also has the effect of shifting attacks toward less-defended targets, and the result is that we&#8217;re no safer overall.</p></blockquote>
<p>Seems those Pentagon researchers haven&#8217;t read that, though. Nor have they heard about his later <a href="http://www.schneier.com/blog/archives/2006/04/announcing_movi.html">movie plot threat contest</a> (which <a href="http://www.nytimes.com/2006/04/23/movies/23peterson.html?_r=2&amp;oref=slogin&amp;oref=slogin">made it to the NY Times</a>), just you wait until they expand on more of those possible dangers &#8211; <a href="http://cockeyed.com/citizen/terror/plans/terrorwatch.html">here&#8217;s a long inspirational list</a>.</p>
<div id="attachment_1316" class="wp-caption alignright" style="width: 160px"><a href="http://www.haslo.ch/blog/wp-content/uploads/2008/09/terror-lineage.jpg"><img class="size-thumbnail wp-image-1316" title="Terror in Lineage" src="http://www.haslo.ch/blog/wp-content/uploads/2008/09/terror-lineage-150x150.jpg" alt="Terror in Lineage" width="150" height="150" /></a><p class="wp-caption-text">Terror in Lineage</p></div>
<p>I particularly like <a href="http://brokentoys.org/2008/09/18/threat-condition-vashj/">this broken toys post</a>, where the blogger draws parallels in other popular MMOs.</p>
<p>Indeed, the point can be made that they only use the above WoW picture as a clever way to make even politicians realize that &#8220;emerging media&#8221; are something that has to be watched for potential terrorist attacks. But the main issue remains: However many movie plot threats you watch, however many communication channels you supervise, we&#8217;re gladly living in a not-quite-yet-1984 world, which has the downside that terrorists have plenty of communication alternatives.</p>
<p>And once again I&#8217;m quoting Schneier, in his <a href="http://www.schneier.com/blog/archives/2008/09/the_pentagons_w.html">brilliant analysis</a> of the subject matter:</p>
<blockquote><p>My guess is still that some clever Pentagon researchers have figured out how to play World of Warcraft on the job, and they&#8217;re not giving that perk up anytime soon.</p></blockquote>
<p>I guess that&#8217;s the best explanation for all this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/help-terrorists-in-world-of-warcraft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stop RFID in Swiss Passports!</title>
		<link>http://www.haslo.ch/blog/stop-rfid-in-swiss-passports/</link>
		<comments>http://www.haslo.ch/blog/stop-rfid-in-swiss-passports/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 11:43:29 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[america]]></category>
		<category><![CDATA[conspiracy theories]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[scorchers]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[switzerland]]></category>
		<category><![CDATA[terrorism]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=1114</guid>
		<description><![CDATA[The Swiss government has decided that our passports, like a few before ours, should store data on RFID chips. Meaning, the following data would be stored in that chip:

fingerprints
a digital photograph
all the data that&#8217;s also available in printed form (name, gender, date of birth, eye color, and so on)

All this data could then be read [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1128" class="wp-caption alignright" style="width: 160px"><a href="http://www.haslo.ch/blog/wp-content/uploads/2008/09/rfid_howitworks.jpg"><img class="size-thumbnail wp-image-1128" title="RFID - How It Works" src="http://www.haslo.ch/blog/wp-content/uploads/2008/09/rfid_howitworks-150x150.jpg" alt="RFID - How It Works" width="150" height="150" /></a><p class="wp-caption-text">RFID - How It Works</p></div>
<p>The Swiss government has decided that our passports, like a few before ours, should store data on RFID chips. Meaning, the following data would be stored in that chip:</p>
<ul>
<li>fingerprints</li>
<li>a digital photograph</li>
<li>all the data that&#8217;s also available in printed form (name, gender, date of birth, eye color, and so on)</li>
</ul>
<p>All this data could then be read out via electrical readers (as pictured in the diagram to the right, labels German).</p>
<p><strong>That in and of itself isn&#8217;t necessarily evil!</strong> The current proposal concerning regulations and technology lets it be implemented in ways that make it evil though. Let me lay out why that is.</p>
<h2>About RFID</h2>
<p>If you haven&#8217;t heard of RFID before, it&#8217;s high time you <a href="http://en.wikipedia.org/wiki/Radio-frequency_identification">read up at Wikipedia</a> &#8211; and even if you did, there&#8217;s quite intriguing things I haven&#8217;t read before in there too. Short version:</p>
<blockquote><p>An RFID tag is an object that can be applied to or incorporated into a product, animal, or person for the purpose of identification and tracking using radio waves. Some tags can be read from several meters away and beyond the line of sight of the reader.</p></blockquote>
<p>Additionally, the RFID chip can be passive &#8211; meaning, it has no energy source of its own and thus potentially lives forever. And as I&#8217;ll explain later more in-depth, you can&#8217;t track who obtains information from it. There are also active RFID chips, but since the ones used in passports are passive and there are no other fundamental differences beyond range between active and passive types, I&#8217;ll neglect active RFID chips for the rest of this post.</p>
<p>There are places where RFID chips make sense and most privacy concerns don&#8217;t apply (like race tracking, inventory systems, some kinds of animal tracking). But passports definitely aren&#8217;t one of them.</p>
<h2>The Referendum</h2>
<p><a href="http://freiheitskampagne.ch/"><img class="size-full wp-image-1129 alignleft" title="RFID Banner" src="http://www.haslo.ch/blog/wp-content/uploads/2008/09/rfid_banner.jpg" alt="RFID Banner" width="150" height="131" /></a>The referendum (a <a href="http://en.wikipedia.org/wiki/Referendum#Switzerland">federal facultative referendum</a>, that is) is carried from a surprisingly (in a very positive way) large number of independent political forces.</p>
<p>The referendum was launched because there is a vast number of unresolved issues that are introduced with biometric RFID passes (details see below).</p>
<p style="text-align: center;"><a href="http://freiheitskampagne.ch/"><strong>Here is the RFID referendum website</strong></a></p>
<p style="text-align: left;">If you&#8217;re Swiss, I strongly urge you to sign it <strong>within the next 10 days</strong>, if you haven&#8217;t already, and spread it among your friends and coworkers. Time is running out, the referendum only runs until September 22th, and apparently, over 30&#8242;000 more signatures are needed. <a href="http://freiheitskampagne.ch/Unterschriftenbogen5.pdf">Signature sheets are available on their site</a>.</p>
<p><span id="more-1114"></span></p>
<h2>Privacy</h2>
<p>It is not a coincidence that the RFID chip started out, originally, as an espionage device. Its passive nature and long life make it perfect for stealth placement and readout.</p>
<p>Accesses to the chip are not trackable, and while the chips in passports are protected by a metal mesh covering them that shields them against malicious scans, this (just like other things when it comes to RFID) doesn&#8217;t work as it should. Uncovered at the <a href="http://www.tgdaily.com/content/view/27899/113/">Blackhat 2006, a proof of concept showed</a>:</p>
<blockquote><p>The problem, according to Flexilis, is that the shielding does not fully protect passport against remote scans. Kevin Mahaffey from Flexilis says a medium powered scanner could detect a partially opened passport from four to six inches away. The theoretical maximum detection range is more than 10 feet, but Mahaffey said that would require a &#8220;huge amount of power.&#8221;</p></blockquote>
<p>So, when you have such a passport, you&#8217;re trackable, identifiable, by anyone who has access to that kind of technology. Which is just about anyone who&#8217;s determined enough.</p>
<p>Furthermore, even &#8220;legitimate&#8221; (as per the legal text) kinds of tracking can go way beyond what we&#8217;re comfortable with. Airline companies, other companies with special permissions, your own and foreign governments, can and may track your every move. And once enough companies have your data in their databases, it&#8217;s bound to be stolen and out in the open eventually &#8211; data leaks do happen.</p>
<p>If you&#8217;re in the fortunate position to understand German, the <a href="http://www.foebud.org/rfid">StopRFID pages of the FoeBuD e.V.</a> have way more info.</p>
<h2>Security</h2>
<p>There is a simple fact about RFID chips that no lobbyist will openly admit:</p>
<p style="text-align: center;"><strong>They are not secure.</strong></p>
<p>You may have heard of <a href="http://en.wikipedia.org/wiki/MythBusters">MythBusters</a>. It&#8217;s a Discovery Channel series that &#8230; busts myths. Often funny, like &#8220;can you surf on a wave created by a dynamite explosion&#8221;, but also stuff like &#8220;can you hack security fingerprint systems&#8221;. They tried to do an episode on RFID, and they were shut down by the industry. You draw the conclusions. References here: <a href="http://www.tomshardware.com/news/Mythbuster-RFID-HOPE,6313.html">tom&#8217;s hardware</a>, <a href="http://news.cnet.com/8301-13772_3-10030509-52.html?tag=newsEditorsPicksArea.0%22">cnet news</a>, <a href="http://consumerist.com/5043831/mythbusters-gagged-credit-card-companies-kill-episode-exposing-rfid-security-flaws">the consumerist</a>, all via <a href="http://www.schneier.com/blog/archives/2008/09/mythbusters_epi.html">Bruce Schneier</a>.</p>
<p>&#8220;But&#8221;, I hear you say, &#8220;they&#8217;re meant to be made secure!&#8221; Well &#8230; yes. Read for yourself, in the <a href="http://www.parlament.ch/ab/frameset/f/n/4804/273225/f_n_4804_273225_273453.htm">federal Swiss decree</a>:</p>
<blockquote><p>Der Datenchip ist gegen Fälschungen und unberechtigtes Lesen zu schützen. Der Bundesrat bestimmt die entsprechenden technischen Anforderungen.</p></blockquote>
<p>More or less, the chip is to be protected against malicious readouts, and details are to be determined by the executive.</p>
<p>But, there&#8217;s a problem with this: The same thing was meant to happen with the British passes&#8217; RFID chips. And what happened? They were hacked a couple weeks after they were released. <a href="http://www.guardian.co.uk/technology/2006/nov/17/news.homeaffairs">Read the details on The Guardian</a>:</p>
<blockquote><p>&#8220;The reader &#8211; I bought one for £250 &#8211; has to say hello to the chip and tell it that it is authorised to make contact. The key to that is in the date of birth, etc. Once they communicate, the conversation is encrypted, but I wrote some software in about 48 hours that made sense of it.&#8221;</p></blockquote>
<p>More info <a href="http://www.technewsworld.com/story/52270.html?wlc=1221216180">on TechNewsWorld</a>. Now, this was a white hat hacker. Who tells us that black hats have problems with what he achieved in 48 hours? We already know that it&#8217;s <a href="http://consumerist.com/369715/how-to-hack-a-rfid-credit-card-for-8">easy to access credit card numbers</a> like that, why should full blown identity theft be made as easy as the (too easy) credit card theft?</p>
<h2>Teleology</h2>
<p>As we know, the main reason for adding those RFID chips in the first place is that the US wants everybody to do so. In their <a href="http://travel.state.gov/visa/laws/telegrams/telegrams_1403.html">Enhanced Border Security and Visa Reform Act of 2002</a>, we find:</p>
<blockquote><p>Additionally, by October 26, 2004, in order for a country to remain eligible for participation in the visa waiver program its government must certify that it has a program to issue to its nationals machine-readable passports that are tamper-resistant and which incorporate biometric and authentication identifiers that satisfy the standards of the International Civil Aviation Organization (ICAO).</p></blockquote>
<p>Why is it that the US government wants everybody to use those RFID chips in the first place then? <a href="http://www.schneier.com/blog/archives/2004/10/rfid_passports.html">Bruce Schneier has, yet again, brilliant vista</a>:</p>
<blockquote><p>The Bush administration is deliberately choosing a less secure technology without justification. If there were a good offsetting reason to choose that technology over a contact chip, then the choice might make sense.</p>
<p>Unfortunately, there is only one possible reason: The administration wants surreptitious access themselves. It wants to be able to identify people in crowds. It wants to surreptitiously pick out the Americans, and pick out the foreigners. It wants to do the very thing that it insists, despite demonstrations to the contrary, can&#8217;t be done.</p></blockquote>
<p>This, of course, is speculation. I haven&#8217;t seen another reasonable explanation to date yet though.</p>
<p>The fun thing is that the US government keeps pursuing that course, despite even large independent bodies like the <a href="http://www.smartcardalliance.org/">Smart Card Alliance</a> (who actually represents RFID vendors, among others, and thus has it in their best economic interest that RFID chips are used) <a href="http://www.techworld.com/security/news/index.cfm?newsid=7513">warning them from privacy and security dangers</a>. If you have a long breath, you might want to read this <a href="http://www.dhs.gov/xlibrary/assets/privacy/privacy_advcom_rpt_rfid_draft.pdf">extensive report from May 2006</a>.</p>
<h2>The future</h2>
<p>Maybe some time in the future, the technology will be where it needs to be in order to make a private, secure chip that makes international travel easy without exposing its users to unnecessary risks. The proposed RFID chips certainly aren&#8217;t that technology.</p>
<p>Of course, even when we eventually do have the technology, other things like better tolerance and education would be more effective in preventing terrorism. But that&#8217;s an entirely different discussion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/stop-rfid-in-swiss-passports/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How the LHC Actually Works</title>
		<link>http://www.haslo.ch/blog/how-the-lhc-actually-works/</link>
		<comments>http://www.haslo.ch/blog/how-the-lhc-actually-works/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 11:51:12 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[conspiracy theories]]></category>
		<category><![CDATA[movies]]></category>
		<category><![CDATA[real life]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=1064</guid>
		<description><![CDATA[Neotorama was featuring this really interesting explanation of how the Large Hadron Collider actually works yesterday evening:

Linear acceleration, circular boosting in 4 packets with pulses, further acceleration in the proton synchotron (a larger ring) and gain of mass, further energy addition in the super proton synchotron, and finally the LHC itself with 2 rings with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.neatorama.com/2008/09/10/fantastic-video-explains-how-the-large-hadron-collider-lhc-works/">Neotorama was featuring</a> this really interesting explanation of how the Large Hadron Collider actually works yesterday evening:</p>
<p style="text-align: center;"><!-- Smart Youtube --><span class="youtube"><object type="application/x-shockwave-flash" width="425" height="355" data="http://www.youtube.com/v/qQNpucos9wc&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0"><param name="movie" value="http://www.youtube.com/v/qQNpucos9wc&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" /><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /></object></span></p>
<p>Linear acceleration, circular boosting in 4 packets with pulses, further acceleration in the proton synchotron (a larger ring) and gain of mass, further energy addition in the super proton synchotron, and finally the LHC itself with 2 rings with opposite directions, which then allows the actual collisions. Really neat.</p>
<p>As for the <a href="http://www.cyriak.co.uk/lhc/lhc-webcams.html">black hole doomsday scenario</a> that <a href="http://www.haslo.ch/blog/big-bang-or-is-it/#comment-42">cookie mentioned</a> wasn&#8217;t upon us just yet: It isn&#8217;t due until October 21st (<a href="http://en.rian.ru/world/20080805/115771418.html">source</a>, <a href="http://en.wikipedia.org/wiki/Large_Hadron_Collider#Test_timeline">via</a>), so long they won&#8217;t do any collisions and just test the two individual rings. Also, it&#8217;s just <a href="http://public.web.cern.ch/public/en/LHC/Safety-en.html">one of many such scenarios</a>, every one just as improbable as the next.</p>
<p>Random related tidbit, an <a href="http://www.msnbc.msn.com/id/26641652/">Indian girl commited suicide</a> because she was afraid of dying (via <a href="http://arathor.net/showthread.php?t=15109">Arathor.net</a>). Tragic, which doesn&#8217;t quite mean that I understand it -- as Ramuel in that thread put it so eloquently:</p>
<blockquote><p>I really don&#8217;t get it. I mean if you were thinking about killing yourself and believed the end of the world was nigh, why not just save yourself the hassle and wait until you get sucked into oblivion?</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/how-the-lhc-actually-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Big Bang! Or is it?</title>
		<link>http://www.haslo.ch/blog/big-bang-or-is-it/</link>
		<comments>http://www.haslo.ch/blog/big-bang-or-is-it/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 11:03:43 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[conspiracy theories]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[real life]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=1021</guid>
		<description><![CDATA[In case you haven&#8217;t noticed, the world hasn&#8217;t ended yet. Which is good I guess, particularly since it&#8217;s despite the LHC (which stands for Large Hadron Collider, apparently) having been switched on this morning at CERN.
Everybody&#8217;s celebrating, even Google, with one of their famous doodles (uhm &#8230; does &#8220;please do not use them elsewhere&#8221; mean [...]]]></description>
			<content:encoded><![CDATA[<p>In case you haven&#8217;t noticed, the world hasn&#8217;t ended yet. Which is good I guess, particularly since it&#8217;s despite the <a href="http://lhc2008.web.cern.ch/lhc2008/">LHC</a> (which stands for <a href="http://en.wikipedia.org/wiki/Large_Hadron_Collider">Large Hadron Collider</a>, apparently) having been <a href="http://press.web.cern.ch/press/PressReleases/Releases2008/PR08.08E.html">switched on this morning</a> at <a href="http://public.web.cern.ch/public/Welcome.html">CERN</a>.</p>
<p>Everybody&#8217;s celebrating, even Google, with one of their famous <a href="http://www.google.com/holidaylogos.html">doodles</a> (uhm &#8230; does &#8220;please do not use them elsewhere&#8221; mean I&#8217;m not supposed to show it here?):</p>
<div id="attachment_1022" class="wp-caption aligncenter" style="width: 340px"><a href="http://www.haslo.ch/blog/wp-content/uploads/2008/09/lhc.gif"><img class="size-full wp-image-1022" title="Google LHC Doodle" src="http://www.haslo.ch/blog/wp-content/uploads/2008/09/lhc.gif" alt="Google LHC Doodle" width="330" height="125" /></a><p class="wp-caption-text">Google LHC Doodle</p></div>
<p>Onwards, a few explanations why it&#8217;s just a <a href="http://backreaction.blogspot.com/2008/07/recreating-big-bang.html">little bang and not a big bang</a> CERN is producing, and an explanation why <a href="http://backreaction.blogspot.com/2006/07/extra-dimensions.html">there won&#8217;t be dangerous black holes</a>, and a <a href="http://www.boingboing.net/2008/06/24/large-hadron-collide.html">less science-ey one</a> too. So, none of the <a href="http://en.wikipedia.org/wiki/List_of_accelerators_in_particle_physics">other particle colliders</a> will kill us any time soon, either.</p>
<p>Hopefully.</p>
<p><strong>Update 13:41:</strong> Very nice site that answers all questions, via <a href="http://twitter.com/kuschti/statuses/916271715">kuschti @ Twitter</a>.</p>
<p style="text-align: center;"><a href="http://www.hasthelhcdestroyedtheearth.com/">http://www.hasthelhcdestroyedtheearth.com/</a></p>
<p>Feel the source, Luke.</p>
<p><strong>Update 14:02:</strong> For up to date news, follow <a href="http://twitter.com/cern">CERN on Twitter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/big-bang-or-is-it/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress Updated, Plugin List</title>
		<link>http://www.haslo.ch/blog/wordpress-updated-plugin-list/</link>
		<comments>http://www.haslo.ch/blog/wordpress-updated-plugin-list/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 14:09:47 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[haslo]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=966</guid>
		<description><![CDATA[So I just did my first WordPress update to 2.6.2, 2.6.1 had a security hole. It went remarkably smooth, considering the horror stores I read (link German, click the links in that post for more) &#8211; as a matter of fact, everything seems to work as it should again.
I&#8217;ll take this opportunity to list all [...]]]></description>
			<content:encoded><![CDATA[<p>So I just did my first <a href="http://codex.wordpress.org/Upgrading_WordPress">WordPress update</a> to <a href="http://wordpress.org/download/">2.6.2</a>, 2.6.1 had a <a href="http://wordpress.org/development/2008/09/wordpress-262/">security hole</a>. It went remarkably smooth, considering the <a href="http://www.rouge.ch/blog/2008/09/wordpress-262/">horror stores I read</a> (link German, click the links in that post for more) &#8211; as a matter of fact, everything seems to work as it should again.</p>
<p>I&#8217;ll take this opportunity to list all the plugins I found useful in my quest for a highly useable and convenient blogging experience for my readers, search engines, and me.</p>
<ul>
<li><a href="http://akismet.com/">Akismet</a> &#8211; utterly awesome anti-spam plugin</li>
<li><a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">All in one SEO pack</a> &#8211; for things like meta tags, rewriting titles, specifying which archives robots should search</li>
<li><a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a> &#8211; because I like breadcrumbs</li>
<li><a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/">Google XML Sitemaps</a> &#8211; more candy for search engines</li>
<li><a href="http://stimuli.ca/lightbox/">Lightbox 2</a> &#8211; because lightboxes look nice</li>
<li><a title="Visit plugin homepage" href="http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/">Admin Drop Down Menu</a> &#8211; makes life easier for me when doing admin stuff</li>
<li><a title="Visit plugin homepage" href="http://yoast.com/wordpress/robots-meta/">Robots Meta</a> &#8211; to avoid indexing of unnecessary stuff</li>
<li><a title="Visit plugin homepage" href="http://urbangiraffe.com/plugins/search-unleashed/">Search Unleashed</a> &#8211; because it sucks less (still not perfect though)</li>
<li><a title="Visit plugin homepage" href="http://www.prelovac.com/vladimir/wordpress-plugins/seo-friendly-images">SEO Friendly Images</a> &#8211; not sure if that&#8217;d still be necessary, but whatever, alt and title are good</li>
<li><a title="Visit plugin homepage" href="http://wordpress.org/extend/plugins/simple-tags">Simple Tags</a> &#8211; easier tagging, nice tag cloud</li>
<li><a title="Visit plugin homepage" href="http://www.irisco.it/?page_id=28">StatPress</a> &#8211; you got me, I&#8217;m tracking you&#8230;</li>
<li><a title="Visit plugin homepage" href="http://txfx.net/code/wordpress/subscribe-to-comments/">Subscribe To Comments</a> &#8211; nobody&#8217;s using this yet <img src='http://www.haslo.ch/blog/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' title="WordPress Updated, Plugin List" /> </li>
<li><span style="text-decoration: line-through;"><a href="http://lesterchan.net/portfolio/programming/php/#wp-postratings">WP-PostRatings</a> &#8211; those little stars below the posts</span> removed<span style="text-decoration: line-through;"><br />
</span></li>
<li><a title="Visit plugin homepage" href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a> &#8211; syntax highlighting for my coding posts, really handy</li>
<li><a title="Visit plugin homepage" href="http://mitcho.com/code/yarpp/">Yet Another Related Posts Plugin</a> &#8211; aah, more gadgets</li>
</ul>
<p>That&#8217;s it, my extensive collection (I removed the Ajax edit one, it slowed down the site horribly) <img src='http://www.haslo.ch/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="WordPress Updated, Plugin List" /> </p>
<p><strong>Update 08-09-10 12:00:</strong> I couldn&#8217;t stand having invalid CSS, so I changed some plugin CSS code and adapted the theme a bit further as well. The bad news: Rounded corners for image frames are gone. The good news:</p>
<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" width="88" height="31" title="WordPress Updated, Plugin List" /></a> <a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border: 0pt none; width: 88px; height: 31px;" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" title="WordPress Updated, Plugin List" /></a></p>
<p>Hooray <img src='http://www.haslo.ch/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="WordPress Updated, Plugin List" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/wordpress-updated-plugin-list/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What&#8217;s Wrong With VBA? (3/3)</title>
		<link>http://www.haslo.ch/blog/whats-wrong-with-vba-33/</link>
		<comments>http://www.haslo.ch/blog/whats-wrong-with-vba-33/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 17:27:48 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[scorchers]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=496</guid>
		<description><![CDATA[part 1 &#8211; part 2 &#8211; part 3
This is the third part of a three-part series, have a look at part 1 and part 2 first.
So let&#8217;s go on ahead and jump into the final bits of my troubles with MS Access and VBA as environment for medium and larger IT projects &#8211; basically, anything [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.haslo.ch/blog/whats-wrong-with-vba-13/">part 1</a> &#8211; <a href="http://www.haslo.ch/blog/whats-wrong-with-vba-23/">part 2</a> &#8211; <a href="http://www.haslo.ch/blog/whats-wrong-with-vba-33/">part 3</a></p>
<p>This is the third part of a three-part series, have a look at <a href="http://www.haslo.ch/blog/whats-wrong-with-vba-13/">part 1</a> and <a href="http://www.haslo.ch/blog/whats-wrong-with-vba-23/">part 2</a> first.</p>
<p>So let&#8217;s go on ahead and jump into the final bits of my troubles with MS Access and VBA as environment for medium and larger IT projects &#8211; basically, anything having 2 and up users.</p>
<h2>Syntax</h2>
<p>There are quite a few things that bother me about the VBA syntax. First of all: it&#8217;s inconsistent, even more so than the one of <a href="http://en.wikipedia.org/wiki/PHP">php</a> (where mainly <a href="http://www.tnx.nl/php.html#args">method signatures are inconsistent</a>), in several places. The most prominent of them are functions. Take these lines:</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> answer <span style="color: #000080;">As</span> VbMsgBoxResult
MsgBox <span style="color: #800000;">&quot;Hello World!&quot;</span>, vbOKOnly
answer = MsgBox(<span style="color: #800000;">&quot;Hello World?&quot;</span>, vbYesNo)</pre></div></div>

<p>Did you notice anything? Yes, indeed. Take note, the parentheses are forbidden in the first case, and mandatory in the second. Now assume that you have a function call that you suddenly need the answer from, whereas you didn&#8217;t need it earlier. Not only do you now have to write the assignment, but you also have to add parentheses to the function call. Way to spend productive time.</p>
<p>The same goes for &#8220;Set&#8221; and assignments to native data types and Objects: For Objects, it&#8217;s mandatory, for native types it&#8217;s forbidden. That goes even for Objects stored in a Variant variable &#8211; all Variants are not made equal, some will throw runtime errors when you assign stuff to them.<br />
<span id="more-496"></span><br />
Another annoying syntax bit is this one:</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #008000;">' Won't work!
</span><span style="color: #000080;">Dim</span> someNumber <span style="color: #000080;">As</span> <span style="color: #000080;">Integer</span> = 5
<span style="color: #008000;">' Will work :-/
</span><span style="color: #000080;">Dim</span> someNumber <span style="color: #000080;">As</span> <span style="color: #000080;">Integer</span>
someNumber = 5</pre></div></div>

<p>Yay, more <a href="http://en.wikipedia.org/wiki/Lines_of_code#Disadvantages">lines of code</a>, how great. But wait, I have more! What do you think this produces?</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> firstVar, secondVar <span style="color: #000080;">As</span> <span style="color: #000080;">Double</span>
<span style="color: #000080;">Dim</span> thirdVar, fourthVar <span style="color: #000080;">As</span> <span style="color: #000080;">Object</span></pre></div></div>

<p>Yep, you guessed it. &#8220;firstVar&#8221; is a Variant, &#8220;secondVar&#8221; a Double, &#8220;thirdVar&#8221; a Variant, &#8220;fourthVar&#8221; an Object. Oh, you got it wrong? Don&#8217;t worry, it&#8217;s just that silly.</p>
<p>My final pet peeve with the syntax is its capitalization (and thus technically the IDE and not VBA itself). VBA is not per se case sensitive &#8211; and it expresses that through simple means: Whenever it encounters a variable, it tries to capitalize it the way it&#8217;s supposed to be, to make it clear that it&#8217;s the same.</p>
<p>Now, enter <a href="http://en.wikipedia.org/wiki/Scope_(programming)">scoping</a>, and intuitively named API bits. So you have a local variable called &#8220;currentItem&#8221; &#8230; what happens if you try to access the property &#8220;CurrentItem&#8221; in, say, an <a href="http://msdn.microsoft.com/en-us/library/aa210923(office.11).aspx">Inspector Object</a>? Right, it&#8217;s capitalized &#8220;currentItem&#8221;. It has nothing at all to do with my local variable, but the IDE is too stupid to notice.</p>
<p>Of course there&#8217;s other things amiss or strange, like the lack of a <a href="http://www.fmsinc.com/free/NewTips/NET/NETtip33.asp">side effect free ternary operator</a>, or the (nearly syntax) VBA developer gospel for the redundant <a href="http://en.wikipedia.org/wiki/Hungarian_notation">Hungarian notation</a> taken to <a href="http://www.joelonsoftware.com/articles/Wrong.html">wrong extremes</a>, but I&#8217;ll just stop here.</p>
<h2>MS Access</h2>
<p>I won&#8217;t even go into how I find Access 2007 to be much worse than its predecessors when it comes to usability, with longer mouse paths and more clicks per action, the <a href="http://office.microsoft.com/en-us/excel/HA101730521033.aspx">developer tab not showing by default</a>, and shortcuts no longer easily visible. Just so much: <strong>it&#8217;s annoying</strong>. I guess I still haven&#8217;t gotten used to the new, less quick, <a href="http://teaandbiscuits.org.uk/drupal/node/8">way of displaying shortcuts</a>, and often, object placements aren&#8217;t intuitive for me and I&#8217;m looking for things in the wrong tab.</p>
<p>What really bothers though is that Access has <strong>stability issues</strong>. Access is the only program so far that managed to crash on my development system. <a href="http://www.adobe.com/products/dreamweaver/">Dreamweaver MX 04</a> is quite an old make and has huge problems with Vista&#8217;s <a href="http://www.microsoft.com/windows/windows-vista/features/user-account-control.aspx">UAC</a>, but it doesn&#8217;t crash. Nor does any other tool. But Access, which happens to often corrupt databases when it does.</p>
<p>Even crashes aside, occasionally the <strong>database just corrupts</strong> like that, without any visible reason. Or it keeps code that you deleted, and keeps spitting error messages how that code isn&#8217;t valid &#8211; without you having any possibility to do anything about it, not even overwriting helps.</p>
<p>I hope you make backups every couple minutes, I certainly learned to. I haven&#8217;t found another reliable way to get those databases back into stable conditions.</p>
<p>Then, what&#8217;s one of the many responsibilities of a proper <a href="http://en.wikipedia.org/wiki/Database_management_system">DBMS</a>? <strong>Housekeeping</strong>! What does Access do? Provide you with &#8220;compact and repair&#8221;, which is user-initiated <em>only</em>. Well, I guess with huge databases that Access couldn&#8217;t handle anymore anyway, that would make sense, not having that an automated regular task.</p>
<p>Furthermore, every single user <strong>needs MS Access installed</strong> on his computer. Potentially a security risk, certainly not something that should be necessary. You don&#8217;t go and install an MS SQL Server on everybody&#8217;s machine. At least Microsoft consequently follows through, and their <a href="http://office.microsoft.com/en-us/access/HA011225981033.aspx">Access security FAQ</a> is all about how you can protect your computer from malicious Access macros, and not how you can secure your Access databases.</p>
<p>By the way, <strong>Access doesn&#8217;t scale</strong> &#8211; what else is new. <a href="http://databases.aspfaq.com/database/what-are-the-limitations-of-ms-access.html">Multiple users are a problem</a>, for larger databases (&gt;<a href="http://support.microsoft.com/kb/302524/">2GB</a>, but you&#8217;re hitting <a href="http://www.programmingado.net/a-381/Performance-testing-Access-MySQL-MSSQL.aspx">performance bottlenecks</a> way before that) you have to move to a proper backend &#8211; essentially, lugging around the whole DBMS part of your GUI windowing toolkit for naught afterwards.</p>
<p>It does at least have <a href="http://mcs.open.ac.uk/kgw9/interesting/AccessLocking.html">proper locking</a>, quite refined <a href="http://www.databasedev.co.uk/permissions.html">permissions</a>, and with Access 2007, <a href="http://databases.about.com/od/productinfo/a/encryption.htm">database encryption</a> (without which all the permission structures in the world are worth naught) as well.</p>
<h2>Other Things</h2>
<p>There&#8217;s a few other small things that I found incredibly annoying, coming from other languages like <a href="http://java.sun.com/">Java</a>, <a href="http://www.python.org/">Python</a> and my personal favourite, <a href="http://www.ruby-lang.org/en/">Ruby</a>.</p>
<p>For one, <a href="http://wesnerm.blogs.com/net_undocumented/2005/10/null_comparison.html"><strong>Null comparisons</strong> work in odd ways</a>, VBA uses <a href="http://en.wikipedia.org/wiki/Ternary_logic">ternary logic</a> (although admittedly, this is consistent with the way SQL handles Nulls).</p>
<p>The next minor thing are <strong>silly defaults</strong> &#8211; there are two lines every halfway serious programmer adds as a very first thing to every single bit of VBA code they write (and this goes so far that there&#8217;s option settings to add it automatically to every source bit):</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Option</span> <span style="color: #000080;">Explicit</span>
<span style="color: #000080;">Option</span> Compare Database</pre></div></div>

<p>The reason for this is simple: backwards compatibility. While VB6 (maybe earlier?) changed the default to the need for explicit variable declaration, VBA never did, and thus it&#8217;s still possible to mistype a simple variable and never find the error later on. And as for Compare Database &#8230; yeah sure, let&#8217;s compare stuff everywhere a bit differently, to make sure the database behaves completely unforeseeable.</p>
<p>Another one: <strong>No external source file support</strong>. If you want to use any library or other cool thingy you found on the net or elsewhere, you have to copy-paste the code into Access. Where it&#8217;s needed, that is, which of course means that if it&#8217;s needed anywhere else, you have to copy-paste it again. The only way around this are Access databases that allow you to copy-paste (oh, look, a pattern) the respective classes or modules as a whole. No, you can&#8217;t just link (with <a href="http://www.access-programmers.co.uk/forums/showthread.php?t=27139">very limited exceptions</a>). Hooray?</p>
<p>We&#8217;re not done yet: You <strong>can&#8217;t return an array</strong>! If you want a Function that returns an array, you have to define it as returning a Variant. If you do that, you can return arrays (since they&#8217;re a subtype of Variant), but will lose all meta information: Data type, size, everything. So if you want to return an array and its size, you have to do it via separate functions, or with a stateful returning object, or with a custom ADT.</p>
<p>Something that was rightfully pointed out to me (thanks Ste!) &#8211; why is it that VBA (and VB.NET, for that matter) distinguishes between <strong>Functions and Subs</strong>? There&#8217;s no fundamental difference, one returns something, the other doesn&#8217;t (so, essentially returns Nothing), but that&#8217;s it. Visual Studio goes so far to automatically change the keyword from Sub to Function when you return something.</p>
<h2>Conclusion</h2>
<p>I guess it&#8217;s apparent by now: I do think that it&#8217;s justifiable to say that VBA is outdated and should be dumped right now.</p>
<p>For Microsoft: There are good replacements, there&#8217;s no reasonable reason beyond &#8220;it was easier&#8221; to have Office 2007 use VBA still, and there&#8217;s certainly no reason to make the next version of MS Office still have VBA support &#8211; particularly if that means that there still won&#8217;t be native VB.NET support inside MS Office.</p>
<p>How delusional of me to think they&#8217;ll actually see this, though <img src='http://www.haslo.ch/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="Whats Wrong With VBA? (3/3)" /> </p>
<p>For anybody considering Access and VBA for their projects: Well, if you still want to, you can of course. Or get the free <a href="http://www.microsoft.com/express/vb/Default.aspx">Visual Studio Express for VB.NET</a> plus <a href="http://www.microsoft.com/express/sql/Default.aspx">SQL Server Express</a>, and stick to a Microsoft environment with a very similar but much more mature language, and a more performant database, for less money.</p>
<p>I still do work with VBA, when I really have to, but I think I laid out here why it&#8217;s a fact that I really only do so when there is no other way.</p>
<p style="text-align: center;"><a href="http://www.haslo.ch/blog/whats-wrong-with-vba-13/">part 1</a> &#8211; <a href="http://www.haslo.ch/blog/whats-wrong-with-vba-23/">part 2</a> &#8211; <a href="http://www.haslo.ch/blog/whats-wrong-with-vba-33/">part 3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/whats-wrong-with-vba-33/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spore&#8217;s DRM</title>
		<link>http://www.haslo.ch/blog/spores-drm/</link>
		<comments>http://www.haslo.ch/blog/spores-drm/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 13:37:15 +0000</pubDate>
		<dc:creator>haslo</dc:creator>
				<category><![CDATA[Video Games]]></category>
		<category><![CDATA[drm]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[piracy]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[video games]]></category>

		<guid isPermaLink="false">http://www.haslo.ch/blog/?p=894</guid>
		<description><![CDATA[Spore was released in the last few days, meanwhile in both Europe and the US. I was really excited about the game. And yet I&#8217;m most probably not going to buy or play it, at least not until EA releases a version without SecuROM. Even though I&#8217;d probably enjoy it. Too bad.
I hate piracy, but [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.spore.com/">Spore</a> was released in the last few days, meanwhile in both Europe and the US. I was really excited about the game. And yet I&#8217;m most probably not going to buy or play it, at least not until EA releases a version without <a href="http://en.wikipedia.org/wiki/Securom">SecuROM</a>. Even though I&#8217;d probably enjoy it. Too bad.</p>
<p>I hate piracy, but even more so I can&#8217;t stand <a href="http://www.eff.org/issues/drm">rigid DRM</a>. Particularly when it has compatibility problems with legit programs, restricts other legitimate activities on a computer, or acts akin to a <a href="http://searchsecurity.techtarget.com/sDefinition/0,,sid14_gci547279,00.html">rootkit</a>. Even if EA <a href="http://www.shacknews.com/onearticle.x/52618">removed the need to be online</a> to play an offline game.</p>
<p>Anyway, that alone wouldn&#8217;t warrant a blog post &#8211; but this is utterly hilarious: Tons of customers that are as disgruntled as I am (or even more so, apparently) went to Amazon and did this to <a href="http://www.amazon.com/review/product/B000FKBCX4/ref=sr_1_1_cm_cr_acr_txt?_encoding=UTF8&amp;showViewpoints=1">Spore&#8217;s review score</a>:</p>
<div id="attachment_895" class="wp-caption aligncenter" style="width: 432px"><a href="http://www.haslo.ch/blog/wp-content/uploads/2008/09/sporereviews.jpg"><img class="size-full wp-image-895" title="Spore Reviews" src="http://www.haslo.ch/blog/wp-content/uploads/2008/09/sporereviews.jpg" alt="Spore Reviews" width="422" height="150" /></a><p class="wp-caption-text">Spore Reviews</p></div>
<p>Well-deserved, EA. <a href="http://www.gucomics.com/comic/?cdate=20080908">This comic here</a> sums it up nicely.</p>
<p>Other reactions: Now also <a href="http://www.basicthinking.de/blog/2008/09/08/dir-passt-ein-produkt-nicht/">on Basic Thinking</a> (in German), with fitting video, and on <a href="http://www.rockpapershotgun.com/2008/09/09/spore-war/">Rock, Paper, Shotgun</a>, where the poster takes a stance different from mine and the discussion in the comments is tremendously interesting. Next step: <a href="http://news.bbc.co.uk/2/hi/technology/7604405.stm">BBC</a> &#8211; the mass media are picking up!</p>
<p><strong>Update 08-09-09 20:57:</strong> Amazon US meanwhile has <a href="http://www.amazon.com/review/product/B000FKBCX4/ref=cm_cr_pr_recent?_encoding=UTF8&amp;sortBy=bySubmissionDateDescending">nearly 1500 1-star reviews</a>, while <a href="http://www.amazon.co.uk/gp/forum/cd/discussion.html/ref=cm_cd_et_md_pl?ie=UTF8&amp;cdForum=Fx339XNA9CI9XXG&amp;cdMsgNo=1&amp;cdPage=1&amp;asin=B000FN7K2S&amp;store=videogames&amp;cdSort=oldest&amp;cdThread=Tx28UYJ7L6NEYEZ&amp;cdMsgID=MxJYY00L5J6489#MxJYY00L5J6489">Amazon UK deletes anti-DRM comments</a>, and <a href="http://www.golem.de/0809/62300.html">EA continues using SecuROM</a>, all <a href="http://www.basicthinking.de/blog/2008/09/09/spore-und-amazon-iii/">via Basic Thinking</a>. Let&#8217;s hope the momentum carries this a bit further into mass media and provokes some more attention before it all dies down under the censoring monetary weight of major corporations.</p>
<p><strong>Update 08-09-12 00:23:</strong> More coverage, <a href="http://arstechnica.com/news.ars/post/20080908-gamers-fight-back-against-lackluster-spore-gameplay-bad-drm.html">on ars technica</a> (that I saw, but haven&#8217;t linked before), and in German at <a href="http://www.spiegel.de/netzwelt/spielzeug/0,1518,577169,00.html">Spiegel Online</a>, via <a href="http://www.fuellhaas.com/2008/09/11/wie-spore-fur-ea-zum-reputations-debakel-wird/">Crossmediale Kommunikation</a> (German as well).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haslo.ch/blog/spores-drm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
