<?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>TechKnack &#187; security</title>
	<atom:link href="http://techknack.net/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://techknack.net</link>
	<description>The rantings of a techie</description>
	<lastBuildDate>Thu, 24 Dec 2009 19:53:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Is your DNS cache poisoned?</title>
		<link>http://techknack.net/is-your-dns-cache-poisoned/</link>
		<comments>http://techknack.net/is-your-dns-cache-poisoned/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 11:54:41 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/?p=152</guid>
		<description><![CDATA[Say what?
First, some background on DNS; feel free to skip this paragraph if you know what it is   .  &#8220;Domain Name System&#8221; is a distributed system for translating web addresses (Google.com) to IP addresses (64.233.187.99).  You type &#8220;Google.com&#8221; into your browser, the browser (through the computer) sends that address to the [...]]]></description>
			<content:encoded><![CDATA[<p><i>Say what?</i></p>
<p>First, some background on DNS; feel free to skip this paragraph if you know what it is <img src='http://techknack.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .  &#8220;<a href='http://en.wikipedia.org/wiki/Domain_Name_System'>Domain Name System</a>&#8221; is a distributed system for translating web addresses (Google.com) to IP addresses (64.233.187.99).  You type &#8220;Google.com&#8221; into your browser, the browser (through the computer) sends that address to the DNS, the DNS looks up the address and retrieves the corresponding IP, the DNS sends that IP to your computer, and, finally, the browser can use that IP to contact the appropriate website&#8217;s server to fetch the content.  Each domain has at least one &#8220;authoritative&#8221; DNS server, which holds the master information for that domain.  Other servers in the DNS system contact the authoritative server, and cache the IP address in their own tables.  This way, if an authoritative server goes down, less-reliable-yet-still-useful results can be obtained from secondary servers.  (This is the way I understand it, please correct me if I&#8217;m wrong).  OK, moving on.</p>
<p>I was doing some domain name management on <a href='http://freedns.afraid.org'>FreeDNS</a> a few days ago, when, seemingly out of nowhere, I was getting &#8220;error loading page&#8221; for that site.  I tried a few other sites to make sure my internet wasn&#8217;t down; I could access Google, but not eBay, with the same situation for a number of other sites.  Very strange.  Having recently been educating myself about DNS (that happens when you start looking into the details of dynamic DNS <img src='http://techknack.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), I immediately assumed that my ISP&#8217;s (AT&#038;T&#8217;s) DNS servers were on the fritz.  Which, to my knowledge, has never happened before.</p>
<p>So, naturally, I went straight to google with a query: &#8220;att dns servers broke&#8221;.  Not the best grammar in the world, but it worked <img src='http://techknack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .  Nothing especially recent popped up under Web results, so I checked out the Blog results, and found this: <a href='http://isitmeoriseveryoneelsestupid.com/2008/07/15/your-dns-is-broken-and-it-cannot-be-fixed-oops/'>Your DNS Server is Broken, and Can&#8217;t Be Fixed</a>.  Naturally, that site was one of the sites that my working DNS server(s) couldn&#8217;t find, so I had to call up a google cached version.  &#8216;Twas a scary article.</p>
<p>Basically, there is an inherent flaw in the very <i>design</i> of the DNS system.  This flaw allows malicious entities with knowledge of this flaw to poison the DNS cache.  This means that they can update the system&#8217;s cache to point a domain name at <i>their</i> IP address, which, in theory, could be a perfect copy of the original website.  This would allow them to redirect major bank websites, for example, to their perfect copies designed to steal your account information.  And you, of course, would never know the difference, because the URL bar still says &#8220;mybank.com&#8221;.</p>
<p>Fortunately, the discoverer of the flaw, Dan Kaminsky of <a href='http://Doxpara.com'>Doxpara.com</a>, was a security researcher.  And, fortunately, he kept this monumental news quiet and got together with some other security guys and programmers, as well as some of the big names in technology, to work up a workaround.  The flaw isn&#8217;t fixable, but we can make it harder to exploit.</p>
<p>After reading this article, which didn&#8217;t exactly answer my first question (&#8221;Are AT&#038;T&#8217;s DNS servers down, broken, or worse?&#8221;), I headed to the news search.  The most recent article there was on Forbes.com: <a href='http://www.forbes.com/technology/2008/07/17/dns-security-flaw-tech-security-cx_ag_0717security.html'>Hackable Broadband Left Unpatched</a>.  This article, besides describing the flaw, detailed some major ISPs who hadn&#8217;t updated their servers as of the day the article was published.  To my disdain, AT&#038;T was among them.  This may explain the DNS hiccups, though, if implementing this workaround to the main servers is at all a major undertaking.</p>
<p>While sooner is better, the major ISPs (or, really, anyone who runs a DNS server) have until August 6th to update their systems.  That&#8217;s when Kaminsky will be discussing all the gritty details of the exploit in his talk at the Black Hat Briefings.  In other words?  DNS D-Day for anyone who hasn&#8217;t patched up yet.</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=152&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/is-your-dns-cache-poisoned/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SecureSMB Script</title>
		<link>http://techknack.net/securesmb-script/</link>
		<comments>http://techknack.net/securesmb-script/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 17:55:00 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/securesmb-script/</guid>
		<description><![CDATA[
Do you have a wireless notebook with Samba shares that contain copyrighted materials?  For example, your music collection?  But you only want to share it with your Xbox Media Center while you&#8217;re on the home network &#8212; sharing anywhere else could result in copyright infringement.  It&#8217;s a hassle to disable your shares [...]]]></description>
			<content:encoded><![CDATA[<div class="download"><a href="http://www.box.net/shared/4x6g2334kc"><img src="http://img.villagephotos.com/p/2005-1/928148/dlex.gif" alt="Download Example" /></a></div>
<p>Do you have a wireless notebook with Samba shares that contain copyrighted materials?  For example, your music collection?  But you only want to share it with your Xbox Media Center while you&#8217;re on the home network &#8212; sharing anywhere else could result in <a href="http://consumerist.com/consumer/worst-company-in-america/mp3s-youve-ripped-yourself-are-still-unauthorized-by-the-riaa-332510.php">copyright infringement</a>.  It&#8217;s a hassle to disable your shares every time you go somewhere, eh?</p>
<p>Well, I&#8217;ve written a script which monitors your wireless connection and, should you hop on the wrong network, shuts down your Samba service.  When you get back on your home network, it restarts the service.  Isn&#8217;t automation wonderful?</p>
<p>Alright, so maybe I have a little too much free time.  Whatever.  <a href="http://www.box.net/shared/4x6g2334kc">Download the script</a>, try it out, leave your comments here or through email, and enjoy.  Distribute it yourself if you feel like it, but leave the bylines intact.  Oh, and the script does need sudo/root privileges, so you should probably put it in /etc/init.d or similar.</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=150&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/securesmb-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three Ways to Securely Destroy Your Data</title>
		<link>http://techknack.net/three-ways-to-securely-destroy-your-data/</link>
		<comments>http://techknack.net/three-ways-to-securely-destroy-your-data/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 20:24:00 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/three-ways-to-securely-destroy-your-data/</guid>
		<description><![CDATA[If you&#8217;re planning on selling your computer in a usable state, chances are you&#8217;ll want to securely erase that three to five years of tax forms, social security numbers, etc from your hard drive.  The most secure method (for us civilians, anyways) to destroy that data while keeping the drive usable is to start [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re planning on selling your computer in a usable state, chances are you&#8217;ll want to securely erase that three to five years of tax forms, social security numbers, etc from your hard drive.  The most secure method (for us civilians, anyways) to destroy that data while keeping the drive usable is to start up a version of the linux-based <a href='http://dban.sourceforge.net/'>Darik&#8217;s Boot &#8216;n&#8217; Nuke</a>.  WARNING: Using DBAN will erase everything, <b>everything</b>, <b><i>EVERYTHING</i></b>, from the hard drive.  Data, operating system, everything.  You won&#8217;t be keeping Windows (or Mac, or Linux, or any OS, for that matter) or your data unless you back it up.  It will effectively give the hard drive a clean slate.  Data recovery is not possible for us mere mortals.  You might as well try to get the pre-release testing data from a new drive (they do test those before we buy them, right? <img src='http://techknack.net/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  )</p>
<p>1) <a href='http://youtube.com/watch?v=vVw49laTG9U'>DBAN</a><br />
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/vVw49laTG9U&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/vVw49laTG9U&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p>If the hard drive is of no use to you, you don&#8217;t plan on letting others have it, and you <a href='http://www.nbc4.com/technology/9305222/detail.html'>don&#8217;t trust the Geek Squad</a> to destroy it for you, here are a couple more, rather more fun, alternatives <img src='http://techknack.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>2) <a href='http://youtube.com/watch?v=UIRXh2oiqtA'>Industrial Shredder</a><br />
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/UIRXh2oiqtA&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/UIRXh2oiqtA&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p>3) <a href=''>DIY <s>Boot &#8216;n&#8217;</s> Nuke</a><br />
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/zR6i2CholDQ&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/zR6i2CholDQ&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<img src="http://techknack.net/?ak_action=api_record_view&id=101&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/three-ways-to-securely-destroy-your-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surviving a Windows XP Limited User account</title>
		<link>http://techknack.net/surviving-a-windows-xp-limited-user-account/</link>
		<comments>http://techknack.net/surviving-a-windows-xp-limited-user-account/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 22:13:00 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/surviving-a-windows-xp-limited-user-account/</guid>
		<description><![CDATA[As I mentioned in my last post, it&#8217;s a good idea to use a &#8220;Limited User&#8221; account under Windows XP (I haven&#8217;t experienced Windows Wished&#8217;a &#8212; erm, Vista &#8212; so I can&#8217;t speak for that OS, but chances are it&#8217;s the same).
But it&#8217;s so limiting!
You have to login as admin to install software, to install [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned in <a target="external" href="http://techknack.blogspot.com/2007/09/why-use-limited-user-account-on-windows.html">my last post</a>, it&#8217;s a good idea to use a &#8220;Limited User&#8221; account under Windows XP (I haven&#8217;t experienced Windows Wished&#8217;a &#8212; erm, Vista &#8212; so I can&#8217;t speak for that OS, but chances are it&#8217;s the same).</p>
<p>But it&#8217;s so limiting!</p>
<p>You have to login as admin to install software, to install new hardware devices, to setup new internet connections (mostly referring to VPNs, here) &#8212; even to install those bulky Windows Updates!</p>
<p>How do I deal with it?</p>
<p>With much <a href="http://dictionary.reference.com/browse/exasperation">exasperation</a>, to be assured, but windows comes with tools to &#8220;make it easier&#8221;.  The main tool I use is &#8220;<a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx?mfr=true">runas</a>&#8220;.  This is a command line tool that takes a variety of options, and lets you run a program as a different user (including admin users).  The catches: 1) you almost exclusively have to use it on executable files, and 2) you have to know the other user&#8217;s password.  Which isn&#8217;t a problem if both user and admin accounts are yours.  Also useful, right-clicking an executable file (and a few other file types) offers a &#8220;Run as&#8230;&#8221; option, which is similar but a bit more limited than the runas command line tool.</p>
<p>I use the runas command combined with shortcuts in my quicklaunch menus to launch Windows Explorer, Regedit, and Control Panel under my admin account.  This allows me fairly convenient access to these things, though I still have to type my password, which delays access.  But it&#8217;s better than nothing.</p>
<p>To set these shortcuts up, you will need the &#8220;Secondary Logon&#8221; service to be running (the runas commands rely on this service).  The Quicklaunch directory can usually be found at <i>C:\Documents and Settings\{user}\Application Data\Microsoft\Internet Explorer\Quick Launch</i> , where {user} is the name of whichever account you will be using.  Alternatively, you can right-click on an empty spot on your quicklaunch toolbar (best is between the last icon and the drop-down arrow that shows the rest of the shortcuts) and click the &#8220;Open Folder&#8221; option, upon which Explorer will present you with the mentioned directory.</p>
<p>Now, on to exactly <i>which</i> shortcuts I use.  In all of the following, {admin} will refer to the name of the admin account you will be logging in under (not your normal user account).  When you see (or don&#8217;t see) the &#8220;/env&#8221; and &#8220;/noprofile&#8221; switches for the runas program, they are optional for the most part:</p>
<p><b>Windows Explorer:</b> Create a new shortcut in your quicklaunch folder and point it to</p>
<pre class="brush: bash;">C:\WINDOWS\system32\runas.exe /env /user:{admin} &quot;explorer.exe /e,\&quot;%USERPROFILE%\Desktop\&quot;&quot;</pre>
<p>This will open a new Explorer window open to the current user&#8217;s Desktop folder.  You can also replace <i>%USERPROFILE%\Desktop</i> with another folder, or, to have <a target="external" href="http://techrepublic.com.com/5208-6230-0.html?forumID=47&#038;threadID=185545&#038;messageID=1934193">My Computer selected</a>, with <i>::{20D04FE0-3AEA-1069-A2D8-08002B30309D}</i>.  The escaped quotes (<i>\&#8221;</i>) are necessary.  For your reference, I&#8217;ve listed <a href="#sysfolders">some other system folders</a> that you may find convenient to have shortcuts (runas-admin or otherwise) to.</p>
<p><b>Control Panel</b>: Create a shortcut to</p>
<pre class="brush: bash;">C:\WINDOWS\system32\runas.exe /env /user:Root &quot;explorer.exe /e,\&quot;::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\&quot;&quot;</pre>
<p>Again, you have to omit the /noprofile switch for it to work.</p>
<p><b>Registry Editor</b>: Create a shortcut to</p>
<pre class="brush: bash;">C:\WINDOWS\system32\runas.exe /env /noprofile /user:Root regedit</pre>
<p>(If you don&#8217;t understand the following paragraph, you may not even need this shortcut)<br />
The problem with using regedit through this method is that HKEY_CURRENT_USER is the admin user.  You can still edit other users&#8217; accounts by finding their tree under the HKEY_USERS key.  If I&#8217;m not mistaken (and on this point I very well could be), the trees (under HKEY_USERS) referring to actual users have long strings of numbers separated by dashes, the last number group being 100x (where x is a decimal [possibly hex] number).</p>
<p><b>Services, Device Manager, Event Viewer, and the like</b><br />
This part gets a little trickier.  To pull up the system services, for example, under an admin account, I would normally use Start > Run&#8230;, then type &#8220;services.msc&#8221; and click OK.  This works under limited accounts, but you can&#8217;t start/stop/edit services.  And, for some reason, you can&#8217;t use runas with services.msc; it just won&#8217;t work.  There are two workarounds: 1) find the .msc or whatever file that refers to the administrative tool you want to use under the C:\Windows or C:\Windows\System32 folders, right-click, choose &#8220;Run as&#8230;&#8221;, and enter your credentials, or 2) Use the Start > Run&#8230; option to run</p>
<p>runas /user:{admin} mmc</p>
<p>then, in the resulting window, File > Add/Remove Snap-in&#8230; > Add&#8230; and select/add whichever tools you want to work with.  Not pretty, not easy, but it&#8217;s there if you need it.</p>
<p>So, there you go.  A few tools (derived from one tool) that I use to tweak my system as a Limited User.  Hope you found it helpful, and feel free to ask questions or make suggestions (or boast of whatever tools you use) in the comments!</p>
<p><a name="sysfolders"></a>Also, as promised, some additional system folders:</p>
<ul>
<li>My Computer: ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}</li>
<li>Recycle Bin: ::{645FF040-5081-101B-9F08-00AA002F954E}</li>
<li>Desktop: ::{00021400-0000-0000-C000-000000000046}</li>
<li>Printers: ::{2227A280-3AEA-1069-A2DE-08002B30309D}</li>
<li>Dial-up networking: ::{A4D92740-67CD-11CF-96F2-00AA00A11DD9}</li>
<li>Fonts: ::{BD84B380-8CA2-1069-AB1D-08000948F534}</li>
<li>Internet Explorer: ::{871C5380-42A0-1069-A2EA-08002B30309D}</li>
<li>Microsoft Outlook: ::{00020D75-0000-0000-C000-000000000046}</li>
<li>Network Neighborhood: ::{208D2C60-3AEA-1069-A2D7-08002B30309D}</li>
<li>Inbox: ::{00020D76-0000-0000-C000-000000000046}</li>
<li>Subscriptions: ::{F5175861-2688-11d0-9C5E-00AA00A45957}</li>
<li>URL History Folder: ::{FF393560-C2A7-11CF-BFF4-444553540000}</li>
<li>Briefcase: ::{85BBD920-42A0-1069-A2E4-08002B30309D}</li>
<li>Internet Cache Folder: ::{7BD29E00-76C1-11CF-9DD0-00A0C9034933}</li>
<li>ActiveX Cache Folder: ::{88C6C381-2E85-11D0-94DE-444553540000}</li>
<li>Control Panel: ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}</li>
</ul>
<p>These were taken from the documentation file for <a href="http://www.wincustomize.com/skins.aspx?skinid=703&#038;libid=29">KKMenu 2.8</a>, whose author says:<br />
&#8220;Please note, that I have taken the list above from the <a target="external" href="http://www.aqua-soft.org/">Aqua-Soft</a> discussions (thanks to hydrostereo and fireball) and I have never tested if all of the items do really work. Please e-mail me in case of any inconveniences to: &lt;email removed&gt;.&#8221;</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=84&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/surviving-a-windows-xp-limited-user-account/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why use a &quot;Limited User&quot; account on Windows?</title>
		<link>http://techknack.net/why-use-a-limited-user-account-on-windows/</link>
		<comments>http://techknack.net/why-use-a-limited-user-account-on-windows/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 02:08:00 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/why-use-a-limited-user-account-on-windows/</guid>
		<description><![CDATA[(Related google search)
By default, any Windows XP user accounts that you create are given administrator privileges.  Many people leave it this way (and some just use the built-in administrator account), allowing them to install software, modify settings, and otherwise tweak their system as their whims lead them to.  Unfortunately, this also gives administrator [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:.8em">(<a target="external" href="http://www.google.com/search?q=why+use+a+windows+xp+limited+user+account">Related google search</a>)</span></p>
<p>By default, any <a target="external" href="http://www.microsoft.com/windowsxp/using/setup/winxp/accounts.mspx">Windows XP user accounts</a> that you create are given administrator privileges.  Many people leave it this way (and some just use the built-in administrator account), allowing them to install software, modify settings, and otherwise tweak their system as their whims lead them to.  Unfortunately, this also gives administrator privileges to ill-intentioned applications, malicious programs, and viruses.</p>
<p><a target="external" href="http://www.microsoft.com/protect/computer/advanced/useraccount.mspx">Operating under a Limited User account</a> can limit the damage that an accidentally downloaded virus is able to do.  Limited User accounts have limited access to the windows registry, read-only access to select system folders (C:\windows, C:\Program Files, and probably others), and non-use access to several system tools (disk defrag, scandisk, add/remove programs, add hardware, and most tools in the Control Panel).  Under such lockdown conditions, viruses and bad programs can&#8217;t really do much, which is good.</p>
<p>If you need to install a program&#8230;well, <i>you</i> can&#8217;t, but your admin account can, and you can access that account&#8217;s privileges either through the <a target="external" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx?mfr=true">runas command</a> or through switching to your admin account.  Or, if you&#8217;re wanting to run an executable program (whose filename ends with .exe), there&#8217;s the <a target="external" href="http://support.microsoft.com/kb/294676">RunAs context menu option</a>.</p>
<p>If you&#8217;re thinking, &#8220;Yikes&#8230;so, you basically can&#8217;t do anything?&#8221; then you&#8217;d be partially correct.  Unless you go through your admin account, you can&#8217;t install programs, uninstall programs, or do anything short of web-browsing and document-editing.  Which may be all you need, depending on your circumstances.  If you need regular access to locked-down resources, but still want the added security of a Limited User account, you can do as I have and make two accounts on your machine, one for (limited) everyday use and one for admin use.  And check out my post, <a href="http://techknack.blogspot.com/2007/09/surviving-windows-xp-limited-user.html">Surviving a Windows XP Limited User account</a>, on making this situation livable <img src='http://techknack.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>As there are plenty of step-by-step guides on how to setup a new user account, I&#8217;ll let <a target="external" href="http://www.microsoft.com/windowsxp/using/setup/winxp/accounts.mspx">Microsoft themselves</a> guide you through the process.</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=83&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/why-use-a-limited-user-account-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Your Life on a Stick</title>
		<link>http://techknack.net/your-life-on-a-stick/</link>
		<comments>http://techknack.net/your-life-on-a-stick/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 03:38:00 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/your-life-on-a-stick/</guid>
		<description><![CDATA[College courses that involve essays, reports, presentations, and other communications-related assignments &#8212; most of them, that is &#8212; make flash drives essential, especially if you don&#8217;t own your own computer/laptop.  And even if you do have your own little workstation, a portable flash drive is very handy for accessing the campus printers.
But those little [...]]]></description>
			<content:encoded><![CDATA[<p>College courses that involve essays, reports, presentations, and other communications-related assignments &#8212; most of them, that is &#8212; make flash drives essential, especially if you don&#8217;t own your own computer/laptop.  And even if you do have your own little workstation, a portable flash drive is very handy for accessing the campus printers.</p>
<p>But those little storage devices can store more than documents.  Duh.</p>
<p>I&#8217;m working on getting a business running where I basically come to your computer and clean it.  Take out the trash, clean up the spyware, spank the viruses, polish the CPU.  Kinda like Geek Squad.  Anyway.  In this business there are a few essential programs that I will be using, but it&#8217;ll get very old very quickly if I have to download each and every one to my client&#8217;s computer to run it.  Not to mention it&#8217;ll take more of <i>their</i> disk space, which is NOT a good thing.  One alternative is to lug my laptop around to each person, setup a local file sharing network (somehow) and work on their drive from my comp.</p>
<p>No, thank you.</p>
<p>My solution: portable apps on a 1-gig flash drive.  There are LOTS of programs that work from a flash drive, many of them free.</p>
<p>However, in choosing programs for your flash drive, you have to keep a few things in mind.</p>
<p><b>Size:</b> Programs, along with all their add-on dll files and lengthy EULAs, can take up a good chunk of drive space.  And with flash drives, you are limited to the drive&#8217;s capacity.  So, obviously enough, the smaller the better.</p>
<p><b>Storage methods:</b> How does the app store information?  Most programs use files, but way too many programs use the Windows Registry.  This is a BIG no-no for portable apps.  On one hand your registry settings won&#8217;t be available on another person&#8217;s computer, and on the other hand you don&#8217;t want to inadvertently edit your client&#8217;s registry.  As such, you want to make sure any program you bring won&#8217;t make registry changes.</p>
<p><b>Relative path support:</b> Life on a flash drive means never knowing what drive letter you&#8217;ll be assigned.  Therefore your programs have to be able to cope with changing letters, and they can&#8217;t be using absolute paths.</p>
<p></p>
<p>So here&#8217;s what my life-on-a-stick currently looks like:</p>
<p><b>Dock:</b> With many programs come many directories.  My file structure is pretty deep.  As such, I don&#8217;t want to go hunting for my apps with my client&#8217;s Windows Explorer.  So I downloaded <a href="http://home.cogeco.ca/~rklauncher/">RKLauncher</a>.  Yes, you could probably go with another dock program, or even a floating menu app, but I prefer RKL because 1) it&#8217;s a dock, and I like docks, 2) it supports both ObjectDock and Yz Dock docklets (don&#8217;t worry if that didn&#8217;t make sense), 3) it&#8217;s a standalone executable, 4) it supports relative paths, meaning it can find my programs even when my flash drive&#8217;s letter changes, and 5) it&#8217;s FREE!!!  Free is very important to me.<br />
Total size of RKLauncher + Dock Icons for all my apps + the following docklet: 3.24MB</p>
<p><b>Menu Docklet:</b> When traveling, you can&#8217;t be sure what resolution the computer you visit will be working with, and you don&#8217;t often want to mess with the settings (if you can).  As such, your traveling dock will ideally be as small as possible.  Enter the menu docklet, <a href="http://www.wincustomize.com/skins.aspx?skinid=703&#038;libid=29">KKMenu</a>.  It&#8217;s not really a docklet anymore, it&#8217;s a standalone executable, but as such it should work with any dock that supports shortcuts.  The download includes a DOC subfolder with a file help.html that gives a rundown of how to use the program, along with a couple of menu skins.  In my installation, I&#8217;ve deleted the DOC folder all but one skin (one INI file and one PNG file), and all extraneous files (everything in the root docklet folder other than kkmenu.exe and kkmenueditor.exe).  My RKLauncher has 4 links to KKMenu, one for each category Internet, Utilities, Security, and Office.  Put together with the two links to local copies of Windows Explorer and Task Manager, it&#8217;s a very small dock.</p>
<p><i>Internet</i></p>
<p><b>Internet Browsing:</b> Yes, chances are any computer I walk up to these days will have high-speed internet connected to a browser of the owner&#8217;s choice &#8212; but I&#8217;m not the owner, and their choice may not be mine.  I prefer FireFox (along with my choice of skins and extensions), so I downloaded <a href="http://portableapps.com/apps/internet/firefox_portable">FireFox Portable</a>.  The owner has even kindly put up instructions for copying your current FireFox settings for use under the portable version.  Must-have extensions I take with me include <a href="https://addons.mozilla.org/en-US/firefox/addon/201">DownThemAll!</a>, <a href="http://searchbarautosizer.mozdev.org">SearchBar Autosizer</a>, <a href="http://www.cooliris.com/">Cooliris</a>, and <a href="http://www.pdfdownload.org">PDF Download</a> for use with Foxit Reader (more later), <s>but it doesn&#8217;t yet support relative paths <img src='http://techknack.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </s><br />
Of course, since space is limited, you want to set some settings that prevent FFP from using more than it absolutely needs.  Mainly this means turning off cookies, disk cache, and history.<br />
Total file size of FFP, extensions, and one theme: 26.4MB<br />
Edit: I talked with the author of PDF Download, and we managed to get relative paths working ^_^ In order to do this, open the PDFD options.  Under the &#8220;General&#8221;, select &#8220;Open PDF&#8221;.  Under the &#8220;PDF Opening&#8221; tab, select &#8220;Use this viewer:&#8221;.  In the text field to the right, put the relative path to your PDF reader executable, starting at the directory where FFP starts.  This method uses a lot of &#8220;dot-dot&#8221; directory specifications (&#8221;../&#8221;, meaning &#8220;one directory up&#8221;), but it is also set-and-forget; once you find the right path, you don&#8217;t have to modify it again (unless you&#8217;re switching PDF viewers).</p>
<p><b>Email:</b> While it&#8217;s true that most email services have a web interface, I prefer a program that brings all my accounts to the same place.  Enter <a href="http://portableapps.com/apps/internet/thunderbird_portable">ThunderBird Portable</a>.  Along with the <a href="http://webmail.mozdev.org/">Webmail Extension</a>, it can bring just about any account type to the desktop.  And, of course, you&#8217;ll have to explore the settings to reduce disk writing to a bare minimum.<br />
Total size of TBP and two extensions: 27.6MB</p>
<p><i>Utilities</i></p>
<p><b>Advanced Text Editing:</b> A good program that works like Notepad and has a little extra kick is Notepad++, but for flash drives go with <a href="http://portableapps.com/apps/development/notepadpp_portable">Notepad++ Portable</a>.<br />
Total size: 2.25MB</p>
<p><b>File Compression:</b> Let&#8217;s face it: the ZIP compression format stinks.  For all the other formats, the best program out there is 7-Zip, with a <a href="http://portableapps.com/apps/utilities/7-zip_portable">portable version</a>.  Supports almost every compression format out there.<br />
Total size: 2.08MB</p>
<p><b>SSH Client:</b> My college career involves a lot of work on Linux computers through <a href="http://www.ssh.com/support/downloads/secureshellwks/non-commercial.html">SSH clients</a>.  All I did here was copy over the SshClient.exe file from my local SSH installation, and it seems to work fine.<br />
Total size: 3.07MB<br />
There is also a <a href="http://portableapps.com/apps/internet/putty_portable">portable PuTTY</a>, if that&#8217;s your app of choice.</p>
<p><b>Lightweight PDF Viewer:</b> Down with bulky Adobe Reader, long live <a href="http://www.foxitsoftware.com/downloads/">Foxit Reader</a>!  Download and extract the ZIP file from Foxit&#8217;s site, and you have a standalone, lightweight PDF viewer!<br />
Total size: 3.85MB</p>
<p><b>Other utilities:</b> I have a few other small programs that might come in handy.  These are <a href="http://www.microsoft.com/technet/sysinternals/Utilities/ProcessExplorer.mspx">Process Explorer</a> (a bulked-up Task Manager), <a href="http://www.tightvnc.com/download.html">TightVNC Viewer</a> (viewer executable only, along with a personalized build of <a href="http://www.uvnc.com/addons/singleclick.html">UltraVNC Single Click</a>, though I haven&#8217;t tried the combo yet), <a href="http://www.sulaco.co.za/downloads.htm#FolderSize">FolderSize</a>, and a small program that creates a <a href="http://www.dougknox.com/xp/scripts_desc/xp_sysrestorepoint.htm">System Restore Point</a> (edits the registry, yes, but in this case you want it to <img src='http://techknack.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).<br />
Total size of all four apps: 4.91MB</p>
<p><i>Security</i></p>
<p><b>Antivirus:</b> My app of choice for antivirus is actually AVG Free, but I haven&#8217;t yet figured out how to run it from a flash drive.  Until then, I will use <a href="http://portableapps.com/apps/utilities/clamwin_portable">ClamWin Portable</a>.</p>
<p><b>Antispyware/malware:</b> At the moment, my spyware apps include only files copied over from local installations of <a href="http://www.lavasoft.com">Ad-Aware SE</a> and <a href="http://www.safer-networking.org/en/mirrors/index.html">Spybot SD</a>.  I have NOT tested these for registry modification yet, however!</p>
<p><i>Office</i><br />
My portable office suite is <a href="http://portableapps.com/apps/office/openoffice_portable">OpenOffice.org Portable</a>.  Unfortunately, the installation program doesn&#8217;t let you choose which parts to install, and there&#8217;s really not much you can remove to save space.  I&#8217;ve managed to slim my install down to 76MB total, but it&#8217;s still bigger than I like, when I&#8217;ll only occasionally use Writer and Calc.<br />
Total size: 76MB slimmed, 181MB full install</p>
<p>Last, but not least, I have two files on the root of my flash drive: an autorun.inf and an rklauncher.bat.  The autorun.inf is setup to automatically run RKLauncher (setup with some help from <a href="http://www.lazycoder.com/weblog/index.php/archives/2006/05/01/enabling-autorun-for-a-usb-flash-drive/">lazycoder.com</a>).  The rklauncher.bat file is essentially a shortcut in the case that autorun doesn&#8217;t autorun.  With flash drives (and, therefore, changing drive letters), file shortcuts don&#8217;t work, so simple windows batch scripts have to be used instead (setup with a template found on a <a href="http://www.fatwallet.com/t/28/511697/">fatwallet.com</a> post &#8212; be sure to use <i>relative</i> paths!).</p>
<p>Altogether, my 1GB flash drive shows 225MB used space, 747MB free space.  Plenty of free space for any documents or relatively small downloads I may want to grab <img src='http://techknack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Other sites for portable apps:<br />
<a href="http://www.portableapps.com/apps/">portableapps.com</a> has a wide range of programs specifically built to be run from a flash drive.<br />
<a href="http://www.fatwallet.com/t/28/511697/">That fatwallet.com post</a> also has an exhaustive list of programs that can run from your flash drive.</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=78&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/your-life-on-a-stick/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

