<?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>david stoker's blog &#187; Computers</title>
	<atom:link href="http://www.davidstoker.org/blog/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidstoker.org/blog</link>
	<description>living life to the full</description>
	<lastBuildDate>Sat, 02 May 2009 17:33:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Funny Spam Message</title>
		<link>http://www.davidstoker.org/blog/2009/04/25/funny-spam-message/</link>
		<comments>http://www.davidstoker.org/blog/2009/04/25/funny-spam-message/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 15:10:26 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://www.davidstoker.org/blog/?p=117</guid>
		<description><![CDATA[I&#8217;ve had my Gmail account for about 4 years now and so I get a decent amount of spam. My address has been around long enough and used to sign up for various things that I average about 50 spam messages a day. Fortunately, Gmail does an excellent job of filtering the spam so I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had my Gmail account for about 4 years now and so I get a decent amount of spam. My address has been around long enough and used to sign up for various things that I average about 50 spam messages a day. Fortunately, Gmail does an excellent job of filtering the spam so I don&#8217;t ever have to look at it. I was deleting the spam though and noticed this message. Quite an elobrate message and strange to see the effort that someone went to making this:</p>
<blockquote>
<div>Mrs. Ruth Madoff</div>
<div>West, Liverpool,</div>
<div>London.</div>
<div>My Great Compliments,</div>
<div>I’m Mrs. Ruth Madoff, 67, wife to Mr. Bernard L. Madoff, of Bernard L. Madoff Investment Securities LLC, who pleaded guilty to operating a multibillion-dollar Ponzi scheme, is worth up to $826 million, according to a document filed with a federal court on Friday 13th March 2009.</div>
<div>My husband pleading stealing billions from investment from his clients and he was ordered to jail Thursday 12th March 2009, after pleading guilty to all 11 criminal counts in one of Wall Street&#8217;s biggest swindles.</div>
<div>Now the Federal investigators in the USA are working around the clock to freeze all my assets, fearing that I&#8217;m trying to flee the country which I have done shortly after my husband was sentenced, I have $93 million in my name beyond their reach.</div>
<div>The Securities and Exchange Commission is working with federal prosecutors in Manhattan to prepare a filing asking a judge to formally freeze all of my assets as soon as possible.</div>
<div>My husband deposited the sum of (USD$17.000.000.00 Million) in a Finance Firm in Europe some years ago in my name, I need you to collect this funds and distribute it to both of us since the Federal investigators are working around the clock to freeze all my assets. Meanwhile all documents related to transfer of this fund to your account is with my attorney Mr. Peter Chavkin, who is willing to help us process the release order from the UK bank.</div>
<div>Presently, I’m in a hard out here in UK as the Federal investigators as well the Securities and Exchange Commission is looking for me to freeze my entire asset as well prosecute me like my husband.</div>
<div>Please reply back to me on this e-mail as I will like if you contact my attorney directly so that he will direct you on the way forward. Please due send to me all your contact details as I will like to speak with you before we commence on the transaction.</div>
<div>Please keep this confidential. You can read my story on this website: <a>http://www.nypost.com/seven/03152009/news/regionalnews/ruth_in_crosshair_159631.htm</a></div>
<div>God bless you.</div>
<div>Best Regards,</div>
<div>Mrs. Ruth Madoff</div>
</blockquote>
<div>Bizarre! I wonder how many people respond to this stuff and think it is legitimate? I really have not ever understood spam since the majority of messages are completely retarded and don&#8217;t make any sense. There must be some point to spam though since spammers continue to send these messages like crazy. There are some interesting statistics on spam <a title="Spam Statistics" href="http://www.messagelabs.co.uk/intelligence.aspx" target="_blank">here</a> that indicate that about 75% of email messages are spam! What a waste!</div>
]]></content:encoded>
			<wfw:commentRss>http://www.davidstoker.org/blog/2009/04/25/funny-spam-message/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 Network Browsing</title>
		<link>http://www.davidstoker.org/blog/2009/04/02/windows-7-network-browsing/</link>
		<comments>http://www.davidstoker.org/blog/2009/04/02/windows-7-network-browsing/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 19:58:52 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.davidstoker.org/blog/?p=94</guid>
		<description><![CDATA[Windows 7 should be coming out sometime this year from what I&#8217;ve read on various technology blogs and because of that I am extremely excited! I have been running the Windows 7 Public Beta on my HP dv6000 laptop for a few months now and I&#8217;m loving it! I have found that it is considerably [...]]]></description>
			<content:encoded><![CDATA[<p>Windows 7 should be coming out sometime this year from what I&#8217;ve read on various technology blogs and because of that I am extremely excited! I have been running the Windows 7 Public Beta on my HP dv6000 laptop for a few months now and I&#8217;m loving it! I have found that it is considerably faster than Vista in a number of ways. It boots up faster, switches users faster and browses files a whole lot faster.</p>
<p>Now I know its not a whole lot to be excited about, but the main thing that has made me the happiest is faster network browsing! Yes, I know, small little improvement but the speed of browsing files stored on a my network is considerably faster. Windows XP used to take forever to &#8220;explore&#8221; the network if you tried to browse by Workgroup and always seemed to have troubles accessing various computers over my wireless network. Windows Vista was a bit faster and was much better at discovering the computers on a network. It would still tend to hang occasionally as it tried to load folders from networked computers especially if they had a lot files. Now, Windows 7! MAN! It is fast at browsing my network and makes it much easier to access files across the network. It copies large files much more efficiently over the wireless too and never hangs when exploring folders.</p>
<p>Thank you Windows team for speeding up the networking features on Windows 7!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidstoker.org/blog/2009/04/02/windows-7-network-browsing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calendar Feature in Vista</title>
		<link>http://www.davidstoker.org/blog/2009/03/26/calendar-feature-in-vista/</link>
		<comments>http://www.davidstoker.org/blog/2009/03/26/calendar-feature-in-vista/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 22:05:47 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[7]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.davidstoker.org/blog/?p=68</guid>
		<description><![CDATA[I was randomly looking up a date on the calendar using Windows 7 Beta today and accidentally discovered a new feature! Turns out this feature is also in Vista but I guess I never noticed in the past two years of using Vista. I&#8217;m sure many of you know about it but I just thought [...]]]></description>
			<content:encoded><![CDATA[<p>I was randomly looking up a date on the calendar using Windows 7 Beta today and accidentally discovered a new feature! Turns out this feature is also in Vista but I guess I never noticed in the past two years of using Vista. I&#8217;m sure many of you know about it but I just thought that it was worth sharing.</p>
<p>In Vista, if you click on the clock in the bottom right corner of the task bar, then a little calendar widget pops up with a cool analog clock on it like so:</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-70" title="Calendar in Vista" src="http://www.davidstoker.org/blog/wp-content/uploads/2009/03/calendar11.jpg" alt="Calendar in Vista" width="350" height="263" /></p>
<p style="text-align: left;">What I realized is that if you click on the Month name it will &#8220;zoom out&#8221; the scope of the calendar. So if you click on where it says &#8220;March, 2009&#8243; you will end up with a month view of the year instead:</p>
<p style="text-align: center;"><img class="size-full wp-image-71 aligncenter" title="Calendar Zoomed Out to Month View" src="http://www.davidstoker.org/blog/wp-content/uploads/2009/03/calendar2.jpg" alt="Calendar Zoomed Out to Month View" width="350" height="263" /></p>
<p style="text-align: left;">You can keep clicking on the text between the arrows and it will continue to zoom out until you have reached a point where it shows just sets of years. Pretty cool little feature in my opinion! I used to just click the little arrows a number of times to get to next year and now I know to &#8220;zoom out&#8221; the scope of the calendar in order to get to next year. I feel a little stupid for not noticing the feature before whatever. I&#8217;ll get over the stupid feeling quickly.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-72" title="Calendar Zoomed Out Completely" src="http://www.davidstoker.org/blog/wp-content/uploads/2009/03/calendar3.jpg" alt="Calendar Zoomed Out Completely" width="350" height="263" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidstoker.org/blog/2009/03/26/calendar-feature-in-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Password Hacking</title>
		<link>http://www.davidstoker.org/blog/2009/03/21/firefox-password-hacking/</link>
		<comments>http://www.davidstoker.org/blog/2009/03/21/firefox-password-hacking/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 00:17:35 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.davidstoker.org/blog/?p=43</guid>
		<description><![CDATA[Firefox is an excellent browser and I personally use it constantly. Installing Firefox is usually the first thing I do after installing a fresh operating system and I use Firefox constantly since I spend many hours on the computer through out the week. One common feature of browsers now a days is the ability to [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox is an excellent browser and I personally use it constantly. Installing Firefox is usually the first thing I do after installing a fresh operating system and I use Firefox constantly since I spend many hours on the computer through out the week. One common feature of browsers now a days is the ability to save your passwords. The first time you type in a password on a website, a nice little bar pops up at the top of the browser asking if you would like to remember your password. Sure! Most people gladly click &#8216;Remember Password&#8217; so that they can be lazy and not type in passwords for websites they constantly visit. I personally do this and also use <a title="Foxmarks Syncing" href="http://www.foxmarks.com" target="_blank">Foxmarks</a> to sync my bookmarks and passwords between various computers.</p>
<p>So how would you hack these passwords? Well, its not really true hacking but simple copying and pasting of a couple files and you can access anybodies saved Firefox passwords. Wait, WHAT? Firefox creates a profile directory on your computer that stores the various information about your Firefox setup like bookmarks, plugins and history. There are two files that are used to store the passwords.</p>
<ol>
<li>key3.db &#8211; This file stores a copy of the encryption key used to encrypt the saved passwords.</li>
<li>signons.txt, signons2.txt, or signons3.txt &#8211; These files store the saved passwords and as you can tell they are plain text files containing the encrypted passwords and logons. The signons.txt file is from early versions of Firefox 2 and signons2.txt is used in Firefox version 2.0.0.2 and later. You should find the signons3.txt file if you are using Firefox 3 or later.</li>
</ol>
<p>Ok, so where are these files found? These files are stored in the profile directory which can be accessed by browsing to the profile folder based on which operating system you are using:</p>
<ul>
<li>Windows Vista and XP:    <span class="filename">%APPDATA%\Mozilla\Firefox\Profiles\</span></li>
<li><span class="filename">Mac OS:    ~/Library/Application Support/Firefox/Profiles/</span></li>
</ul>
<p><span class="filename">You can visit <a title="Firefox Profile Directories" href="http://support.mozilla.com/en-US/kb/Profiles" target="_blank">this Mozilla support page</a> if you need help finding your profile directory.</span></p>
<p><span class="filename">Now that you have found the profile directory that contains the saved passwords, these two files could be copied to another computer for viewing and accessing the passwords. Lets say that someone wants to gain access to your passwords. <strong>I am in no way condoning the stealing of someone&#8217;s passwords but I&#8217;m just telling you so that you can be aware! </strong>If they gain access to your computer for even a few seconds, a skilled, mischievous person could copy the two password files to a thumb drive or even access your computer over a wireless network if you are not running some type of firewall. By copying these two files they could then view your passwords using the method I am about to explain.</span></p>
<p><span class="filename">Lets say that you have gained access to these two files in some sort of a legitimate manner and you are not trying to steal someone&#8217;s passwords. For example, you could just want to move your passwords from one computer which could be done through this method: </span></p>
<ol>
<li><span class="filename">Create a new profile using the Firefox Profile Manager so that you don&#8217;t mess up any of your settings. To open the profile manager, type &#8220;firefox.exe -profilemanager&#8221; into the &#8220;Run&#8221; dialog on your Start Menu on Windows or type &#8220;/Applications/Firefox.app/Contents/MacOS/firefox -profilemanager&#8221; into Terminal on your Mac computer. If you need help opening the profile manager, visit <a title="Firefox Profile Manager" href="http://kb.mozillazine.org/Profile_Manager" target="_blank">this Mozilla support page</a>.</span><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><br />
</span></li>
<li><span class="filename">Once you have the profile manager opened, select &#8220;Create Profile&#8230;&#8221; and give the profile a meaningful name.<br />
</span></li>
<li><span class="filename">Then choose &#8220;Exit&#8221;.<br />
</span></li>
<li><span class="filename">Open up the Firefox profile directory as mentioned above and look for the profile with the same name after the period as the one you just created in the Profile Manager. It should be of the form &#8220;xxxxxxxx.profilenamehere&#8221; where the &#8220;X&#8221;s are random letters and numbers.</span></li>
<li><span class="filename">Copy the two password files, key3.db and signons3.txt that you obtained into this profile directory. If it asks if you want to overwrite the files, say &#8220;Yes&#8221; so that the empty files are overwritten by the ones that actually contain the passwords. This is why we created a new profile. Otherwise, you would be writing over the saved passwords stored in your Firefox profile.</span></li>
<li><span class="filename">Open up the Firefox Profile Manager again. This time, select the profile that you created and select &#8220;Start Firefox&#8221;. You should now be in Firefox and will be able to access the saved passwords. To view the passwords, go to &#8220;Tools -&gt; Options -&gt; Security -&gt; Saved Passwords &#8230;&#8221;  and then choose &#8220;Show Passwords&#8221; at the bottom right of the passwords window.</span></li>
<li><span class="filename">Voila! You should now be able to see all of the passwords stored in the files that were copied from a different computer.</span></li>
</ol>
<div id="attachment_44" class="wp-caption aligncenter" style="width: 272px"><img class="size-full wp-image-44" title="Firefox Profile Manager" src="http://www.davidstoker.org/blog/wp-content/uploads/2009/03/profilemanager.png" alt="Firefox Profile Manager" width="262" height="197" /><p class="wp-caption-text">Firefox Profile Manager</p></div>
<p>Well, now, thats fun! Some dubious person who gains access to your computer for more than a couple seconds could potentially steal all of your passwords. This means that a &#8220;back-stabbing&#8221; friend, tech support guy from some company like Best Buy or the tech support guys at your workplace could steal your passwords without truly hacking anything. Scary? Yes! People are not aware of how exposed they are and they rarely take the steps to protect themselves.</p>
<p>So how do you avoid someone from easily stealing your passwords and accessing your accounts? The makers of Firefox are not stupid and have built in a feature that allows you to set a Master Password. By default, this Master Password is not set and most people never set a Master Password. (This is exactly what it sounds like by the way&#8230;a password for your passwords) You can enable the Master Password by going to &#8220;Tools -&gt; Options -&gt; Security&#8221; and selecting &#8220;Use a master password.&#8221;</p>
<p>By setting the Master Password, a <span class="filename">mischievous</span> person cannot gain access to your passwords. Even if they were to copy your passwords to a different computer, they would have to know your master password in order to select &#8220;Show Passwords&#8221; as mentioned in Step 6 of the directions above. Also, when they visit a website that a password has been saved for, they would be prompted to enter the Master Password. This means that you will also have to enter the Master Password the first time a saved password is requested by Firefox after opening your browser. Don&#8217;t think of this a nuisance but rather an extra layer of security protecting your online identity. Just imagine if some menacing person gained access to your email, Facebook, bank accounts and other important sites?</p>
<p>Ok, I think the point has been made. Set a Master Password in Firefox so that someone cannot easily steal your passwords and access your various online accounts from the privacy of their comptuer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidstoker.org/blog/2009/03/21/firefox-password-hacking/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flash Drive + Washer and Dryer = Still works!</title>
		<link>http://www.davidstoker.org/blog/2008/07/19/flash-drive-washer-and-dryer-still-works/</link>
		<comments>http://www.davidstoker.org/blog/2008/07/19/flash-drive-washer-and-dryer-still-works/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 20:39:43 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Cruzer]]></category>
		<category><![CDATA[Flash drives]]></category>
		<category><![CDATA[SanDisk]]></category>

		<guid isPermaLink="false">http://davidstoker.org/blog/?p=19</guid>
		<description><![CDATA[I certainly have neglected this blog recently but really hope to start writing on it more. I have been fairly busy with work but I&#8217;ll be done working for the summer in about 2 weeks so that is pretty exciting! Then I&#8217;ll start posting some more and will be working on uploading some of the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I certainly have neglected this blog recently but really hope to start writing on it more. I have been fairly busy with work but I&#8217;ll be done working for the summer in about 2 weeks so that is pretty exciting! Then I&#8217;ll start posting some more and will be working on uploading some of the programming projects I have been working on for anybody to look at.</p>
<p style="text-align: left;">Anyways, time to talk about the title of this post! I have been looking for one of my flash drives all week and just could not find it. I threw some laundry in to the wash this morning and never bothered to check the pockets. I usually empty my pockets when I take my pants off so that I don&#8217;t let things go through the wash. Guess I forgot this time! My sister took my clothes out of the dryer and found my flash drive in there! Amazingly it made it through the washer and dryer without breaking! It does smell a bit like Tide detergent now but I plugged it in and it still works great. Therefore, my official recommendation on flash drives are these SanDisk Cruzer drives since they can put up with just about anything!</p>
<p style="text-align: center;"><a href="http://davidstoker.org/blog/wp-content/uploads/2008/07/flashdrive.jpg"><img class="size-medium wp-image-20 alignnone" title="Cruzer Flash Drive" src="http://davidstoker.org/blog/wp-content/uploads/2008/07/flashdrive-300x225.jpg" alt="" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidstoker.org/blog/2008/07/19/flash-drive-washer-and-dryer-still-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Kiosk With Firefox Part 1</title>
		<link>http://www.davidstoker.org/blog/2008/05/27/building-a-kiosk-with-firefox-part-1/</link>
		<comments>http://www.davidstoker.org/blog/2008/05/27/building-a-kiosk-with-firefox-part-1/#comments</comments>
		<pubDate>Tue, 27 May 2008 23:59:27 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[AutoHotKey]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Kiosk]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[R-Kiosk]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://davidstoker.org/blog/?p=11</guid>
		<description><![CDATA[Well, summer started a couple weeks ago and I started working as a PC Support Specialist again! As a part of my first week of work I started work on re-doing 18 Dell PCs that are set up in a &#8220;museum&#8221; type setting. These PCs have a variety of interactive Flash applications and websites that [...]]]></description>
			<content:encoded><![CDATA[<p>Well, summer started a couple weeks ago and I started working as a PC Support Specialist again! As a part of my first week of work I started work on re-doing 18 Dell PCs that are set up in a &#8220;museum&#8221; type setting. These PCs have a variety of interactive Flash applications and websites that visitors can use. Naturally, these PCs need to be &#8220;locked down&#8221; as much as possible so that people can&#8217;t just press CTRL-ALT-DEL or minimize the browser window and mess around with the computer. These computers were not set up very well initially and there have been plenty of instances of people accessing the computer and being able to see the network and change settings. There was even a case where a person decided to place links to pornographic websites on the desktop which is just horrible!</p>
<p>There are plenty of commercial solutions for locking down a browser and usually cost a considerable amount per computer. I decided to use freely available open source software to create the locked down kiosk solution that the project called for.</p>
<p>Naturally, I needed to start with a good solid web browser that would allow for the use of plugins and customization. Firefox anyone? I grabbed a copy of Firefox 2 since Firefox 3 isn&#8217;t quite ready for production use yet and went to looking for plugins that would help turn Firefox into a kiosk browser. I stumbled upon <a title="R-Kiosk" href="https://addons.mozilla.org/en-US/firefox/addon/1659" target="_blank">R-kiosk</a> which was exactly what I was looking for! If you read through the comments on the R-kiosk description page you will see that there are a couple shortcomings. The most notable problem is that popup windows are automatically resized to take up the entire screen. Since the menu bar is hidden so that the user can&#8217;t simply hit the &#8220;X&#8221; users can get &#8220;stuck&#8221; on pop up screens! This is a major flaw in the plug in but rather difficult to avoid. Fortunately for my set up, I don&#8217;t have to worry about popup windows. The content that users can view is local to the PC and is not &#8220;live&#8221; internet content. Saman Sadeghi has an <a href="http://samanathon.com/firefox-2s-kiosk-mode/" target="_blank">excellent tutorial about R-kiosk</a> over at his website.</p>
<p>If you read the description for R-Kiosk you will see that it blocks many of the keys in Firefox in order to prevent users from doing certain things. It does work and prevents the user from right clicking and things of that sort. This is great but there are still a number of things that the user could do in order to get back to the computer. R-Kiosk doesn&#8217;t block things like the Windows key or other common key combinations like CTRL-SHIFT-ESC or ALT-SHIFT-ESC that would allow a user to exit the browser window or bring up the Task Manager. I needed to <strong>completely</strong> lock down the computers and only allow the user to do a small set of operations.</p>
<p>In order to do this, I needed a way to control certain key strokes and prevent common ones like the Windows key from working. The best way I found to do this was a simple free program called <a title="AutoHotKey" href="http://www.autohotkey.com/" target="_blank">AutoHotKey</a>. Many gamers use AutoHotKey to create, well, hotkeys, for their games! I personally have used it to create custom hotkeys that make repetitive tasks easier to perform. I created a simple AutoHotKey script that monitors common shortcuts in Firefox and Windows and makes them do nothing which is exactly what is needed when locking down a PC! Here is a copy of the script that I created:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/*
Ignore attempts to launch multiple instances of the program
*/</span>
#SingleInstance ignore
#InstallKeybdHook
&nbsp;
<span style="color: #006600; font-style: italic;">/*
Disable a series of keys
*/</span>
&nbsp;
<span style="color: #339933;">!</span>F4<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt F4
<span style="color: #339933;">!</span>Esc<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Escape
Lwin<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Left Windows Key
Rwin<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Right Windows Keyl
<span style="color: #339933;">^</span>Tab<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl Tab
<span style="color: #339933;">!</span>Tab<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Tab
<span style="color: #339933;">!+</span>Tab<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Shift Tab
F7<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> F7
<span style="color: #339933;">^+</span>Escape<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl Shift Escape
<span style="color: #339933;">!+</span>Escape<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt SHift Escape
<span style="color: #339933;">^</span>A<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl A
<span style="color: #339933;">^</span>R<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl R
<span style="color: #339933;">^</span>P<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl P
<span style="color: #339933;">^</span>X<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl X
<span style="color: #339933;">^</span>C<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl C
<span style="color: #339933;">^</span>V<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl V
<span style="color: #339933;">^</span>T<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl T
<span style="color: #339933;">!</span>VK24<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt <span style="color: #000066;">Home</span>
SC135<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Firefox Quick Find
SC145<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Num Lock
&nbsp;
SC03A<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Caps Lock
SC046<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> <span style="color: #000066;">Scroll</span> Lock
<span style="color: #339933;">!</span>LButton<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Left Click which starts download <span style="color: #000066; font-weight: bold;">in</span> Firefox
<span style="color: #339933;">^</span>LButton<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl Left Click which starts download
<span style="color: #339933;">!</span>MButton<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Middle Click which opens a <span style="color: #003366; font-weight: bold;">new</span> tab <span style="color: #000066; font-weight: bold;">in</span> Firefox
<span style="color: #339933;">^</span>MButton<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Middle Click which opens a <span style="color: #003366; font-weight: bold;">new</span> tab
<span style="color: #339933;">+</span>LButton<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Shift Left Click which opens a <span style="color: #003366; font-weight: bold;">new</span> window <span style="color: #000066; font-weight: bold;">in</span> Firefox
<span style="color: #339933;">+</span>MButton<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Shift Middle Click which opens a <span style="color: #003366; font-weight: bold;">new</span> tab
<span style="color: #339933;">+</span>VK0D<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Shift Enter which opens a <span style="color: #003366; font-weight: bold;">new</span> window
<span style="color: #339933;">!+</span>VK0D<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Shift Enter which opens a <span style="color: #003366; font-weight: bold;">new</span> window
<span style="color: #339933;">!</span>VK0D<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Enter which starts download
<span style="color: #339933;">^</span>VK0D<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl Enter which opens a <span style="color: #003366; font-weight: bold;">new</span> tab
<span style="color: #339933;">^+</span>VK0D<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl Shift Enter opens a <span style="color: #003366; font-weight: bold;">new</span> tab
<span style="color: #339933;">^!</span>VK0D<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl Alt Enter opens a <span style="color: #003366; font-weight: bold;">new</span> tab
<span style="color: #339933;">^</span>Escape<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Ctrl Escape
<span style="color: #339933;">!</span>Space<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Space which opens menu bar
<span style="color: #339933;">!+</span>Space<span style="color: #339933;">::</span>  <span style="color: #339933;">;</span> Alt Shift Space which opens menu bar
<span style="color: #000066; font-weight: bold;">return</span>
&nbsp;
<span style="color: #006600; font-style: italic;">/*
Set Alt F9 to exit any open Firefox browser
*/</span>
<span style="color: #339933;">!</span>F9<span style="color: #339933;">::</span>
&nbsp;
IfWinExist<span style="color: #339933;">,</span> ahk_class MozillaUIWindowClass <span style="color: #339933;">;</span> Firefox
&nbsp;
<span style="color: #009900;">&#123;</span>
&nbsp;
WinActivate ahk_class MozillaUIWindowClass
&nbsp;
WinClose<span style="color: #339933;">,</span> ahk_class MozillaUIWindowClass
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">return</span></pre></div></div>

<p>As you can see, the top section of code monitors for all sorts of hotkeys and shortcuts. I&#8217;m sure that there are more that I didn&#8217;t come up and I&#8217;d love comments if there are anymore that would be helpful to block! The comments in the code make it rather self explanitory. The first section monitors for keystrokes and that has no action for each keystroke. Looking at the syntax of the AutoHotKey code, notice the &#8220;::&#8221; that comes after each Key sequence. Normally, the action for the hotkey would come after the double colons but my script assigns no action to each key stroke. You will notice that there are a number of characters that are used to represent certain keys in order to detect the keystroke. For example, the &#8220;!&#8221; is used to represent the Alt key. A full list of these character to key associations can be <a href="http://www.autohotkey.com/docs/Hotkeys.htm" target="_blank">found at the AutoHotKey</a> site. There is also excellent <a href="http://www.autohotkey.com/docs/" target="_blank">documentation available</a> that can help your further explore AutoHotKey.</p>
<p>The second half of the code monitors for the Alt-F9 key sequence. This sequence was my testing &#8220;exit key&#8221; used to get me out of Firefox. This will be set to something more complicated, like a series of four keys, so that an administrator could make changes to the machine. If the AutoHotKey detects that Alt-F9 was pressed, it will check to see if any windows exist that belong to the MozillaUIWindowClass. It then closes them which would get an administrator the computer&#8217;s desktop.</p>
<p>Whew! That was a lot of information! I&#8217;m going to take a break now that I have explained a good amount about R-Kiosk and using AutoHotKey to limit key strokes. In the next installment I&#8217;ll talk about my modifications to the Firefox userChrome.css file which allowed me to hide all the features of the Firefox environment except for the back and forward buttons.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidstoker.org/blog/2008/05/27/building-a-kiosk-with-firefox-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Back home in Orlando!</title>
		<link>http://www.davidstoker.org/blog/2008/05/03/back-home-in-orlando/</link>
		<comments>http://www.davidstoker.org/blog/2008/05/03/back-home-in-orlando/#comments</comments>
		<pubDate>Sun, 04 May 2008 03:14:30 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Religion]]></category>
		<category><![CDATA[dual]]></category>
		<category><![CDATA[dual monitors]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[monitors]]></category>
		<category><![CDATA[summer]]></category>

		<guid isPermaLink="false">http://davidstoker.org/blog/?p=8</guid>
		<description><![CDATA[After finishing off my duties at the Engineering graduation last night it was time to finish preparing for my move back home for the summer! I am officially done living in dorms! Next year I&#8217;ll be living in an apartment off-campus with my own bedroom and own bathroom! CAN&#8217;T WAIT! I definitely enjoyed living in [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">After finishing off my duties at the Engineering graduation last night it was time to finish preparing for my move back home for the summer! I am officially done living in dorms! Next year I&#8217;ll be living in an apartment off-campus with my own bedroom and own bathroom! CAN&#8217;T WAIT! I definitely enjoyed living in the dorm and I&#8217;m glad that I did it. It was a very interesting experience and I met some very strange people along the way but I guess that is the point of college! I am glad to be done with freshman year and very glad that I can finally relax and enjoy not having to go to class and study for tests! I will certainly miss living in Beaty Towers and I&#8217;ll miss having my roommates and other people around all the time in case I get bored. It feels great to have the first year done and even though it seems like there is so much more college left, there really isn&#8217;t! It will be over before I realize it and then I&#8217;ll be forced to get a full time job and see what I really learned. So exciting! I can&#8217;t wait for the future.</p>
<p style="text-align: left;">Now that I am back home and have a full desk to myself, I was able to redo my computer set up. I bought a second Acer 22&#8243; monitor at the start of the year to use as a TV and later took it out of use when my room mate got a new 26&#8243; LCD TV for us to use. Now that I have a new graphics card and two monitors I finally have my ideal dual monitor set up! Here is a picture:</p>
<p style="text-align: center;"><a href="http://davidstoker.org/blog/wp-content/uploads/2008/07/dualmonitors.jpg"><img class="size-full wp-image-14 alignnone" title="Dual Monitor Setup" src="http://davidstoker.org/blog/wp-content/uploads/2008/07/dualmonitors.jpg" alt="Dual Monitor Setup" width="192" height="144" /></a></p>
<p style="text-align: left;">I&#8217;m pretty excited that I finally am able to use this as my set up! It consists of 2 Acer 22&#8243; LCD screens, my &#8220;Hackintosh&#8221; desktop running Mac OS X Leopard and a Logitech wireless keyboard and mouse. I feel more productive already and I definitely enjoy being able to watch a movie or TV show on one screen while writing an e-mail or surfing the web on the other! I know that this set up will also help a lot when I am trading on the Forex market but I&#8217;ll write more about that sometime later. Overall, feels great to be home and feels good knowing that I have nearly four months of summer ahead of me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidstoker.org/blog/2008/05/03/back-home-in-orlando/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
