<?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>Arjun&#039;s Weblog &#187; Technology</title>
	<atom:link href="http://arjun.com.np/blog/archives/category/articles/technology/feed" rel="self" type="application/rss+xml" />
	<link>http://arjun.com.np</link>
	<description>My journey into life...</description>
	<lastBuildDate>Mon, 10 May 2010 14:08:25 +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>The INSTANCESHAREDWOWDIR command line value was not specified: Fatal Error Installing SQL Server 2008</title>
		<link>http://arjun.com.np/blog/archives/74</link>
		<comments>http://arjun.com.np/blog/archives/74#comments</comments>
		<pubDate>Wed, 17 Mar 2010 06:13:52 +0000</pubDate>
		<dc:creator>rahul</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Error in SQL SERVER Setup]]></category>
		<category><![CDATA[INSTALLSHAREDWOWDIR]]></category>
		<category><![CDATA[INSTANCESHAREDWOWDIR]]></category>
		<category><![CDATA[INSTANCESHAREDWOWDIR command line value was not specified]]></category>
		<category><![CDATA[Microsoft SQL Server 2008]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://arjun.com.np/?p=74</guid>
		<description><![CDATA[<a href="http://arjun.com.np/blog/archives/74"><img align="left" hspace="5" width="150" height="150" src="http://arjun.com.np/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>I was trying to install Microsoft SQL Server 2008 on my PC. During the setup process (when selecting features), I received the following error : &#8220;The INSTANCESHAREDWOWDIR command line value was not specified. This value must be specified when the INSTANCESHAREDDIR value is specified.&#8221; I tried twice or thrice and got the same error which [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to install Microsoft SQL Server 2008 on my PC. During the setup process (when selecting features), I received the following error : &#8220;The INSTANCESHAREDWOWDIR command line value was not specified. This value must be specified when the INSTANCESHAREDDIR value is specified.&#8221;</p>
<p>I tried twice or thrice and got the same error which terminated the SQL Server 2008 Installation Wizard. When I searched through forums I came to know that this error occurs when you change the installation path on x64 OS systems. Ovbiously I encountered the error as I was using Windows 7 Ultimate (x64). Then tried installing SQL Server 2008 on the default path and that was a success.But that didn&#8217;t satisfied me as I did not like to have the SQL Server installed on the System Drive.</p>
<p>I tried to peek the command line tool to see if I could set the parameter somewhere. And after an hour of struggle I found that there was so such parameter named &#8220;INSTANCESHAREDWOWDIR&#8221;. It was &#8220;INSTALLSHAREDWOWDIR&#8221; instead.</p>
<p>The microsoft guys had mistake on writing the error message where they have written INSTANCESHAREDWOWDIR instead of INSTALLSHAREDWOWDIR. Having known of the issue I tried to setup the SQL Server once again from the command line as -</p>
<p><strong>&gt;setup.exe /action=install /installsharedwowdir=&#8221;x:/program files/microsoft sql server/&#8221;</strong></p>
<p>and waited for the result. This time again I changed the install directory to see that the wizard accepted the parameter and the SQL Server 2008 was installed successfully at my desired location.</p>
<p>Probably this has to be some minor bug at the installer and it became more pronounced due to the &#8220;wrong&#8221; error message thrown. Hopefully, I expect that the microsoft guys will have a fix for it ASAP.</p>
]]></content:encoded>
			<wfw:commentRss>http://arjun.com.np/blog/archives/74/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CAPTCHA , Anti-Captcha</title>
		<link>http://arjun.com.np/blog/archives/42</link>
		<comments>http://arjun.com.np/blog/archives/42#comments</comments>
		<pubDate>Sun, 30 Aug 2009 03:41:21 +0000</pubDate>
		<dc:creator>rahul</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Anti-Captcha]]></category>
		<category><![CDATA[Captcha]]></category>
		<category><![CDATA[Protection]]></category>
		<category><![CDATA[Search Engine]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://arjun.com.np/?p=42</guid>
		<description><![CDATA[<a href="http://arjun.com.np/blog/archives/42"><img align="left" hspace="5" width="150" height="150" src="http://arjun.com.np/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>CAPTCHA? A CAPTCHA or Captcha (pronounced /ˈkæptʃə/) is a type of challenge-response test used in computing to ensure that the response is not generated by a computer. The process usually involves one computer (a server) asking a user to complete a simple test which the computer is able to generate and grade. Because other computers [...]]]></description>
			<content:encoded><![CDATA[<h3>CAPTCHA?</h3>
<p>A <strong>CAPTCHA</strong> or <strong>Captcha</strong> (pronounced <span title="Pronunciation in the International Phonetic Alphabet (IPA)">/ˈkæptʃə/</span>) is a type of challenge-response test used in computing to ensure that the response is not generated by a computer. The process usually involves one computer (a server) asking a user to complete a simple test which the computer is able to generate and grade. Because other computers are unable to solve the CAPTCHA, any user entering a correct solution is presumed to be human. Thus, it is sometimes described as a reverse Turing test, because it is administered by a machine and targeted to a human, in contrast to the standard Turing test that is typically administered by a human and targeted to a machine. A common type of CAPTCHA requires that the user type letters or digits from a distorted image that appears on the screen.</p>
<h3>Applications of CAPTCHAs</h3>
<p>CAPTCHAs have several applications for practical security, including (but not limited to):</p>
<ul>
<li><strong>Preventing Comment Spam in Blogs.</strong></li>
<li><strong>Protecting Website Registration.</strong></li>
<li><strong>Online Polls.</strong></li>
<li><strong>Preventing Dictionary Attacks.</strong></li>
<li><strong>Search Engine Bots.</strong></li>
<li><strong>Worms and Spam.</strong></li>
</ul>
<p>The general purpose of Captcha&#8217;s are to prevent the automation of form submission. For example, to protect a guestbook from filling up with spam-entries or to prevent hundreds of bogus users registering to a forum.</p>
<h3>The ANIT-CAPTCHA Challange</h3>
<p>Until recently, image-based Captcha&#8217;s have been a reasonable solution to combat this problem. However, with Object Character Recognition techniques getting better and better, Captcha&#8217;s too have to continuously increase in complexity.</p>
<p style="text-align: left">Ironically, it&#8217;s come to the point that computers are better at deciphering Captcha&#8217;s than humans are, simply because computers have infinite patience.</p>
<p style="text-align: left">To illustrate: evildoers trying to beat your Captcha are probably satisfied with a success ratio of 1/100 – because in just a few hours of repetition this can add up to hundreds of successful passes. A typical human user on the other hand probably throws in the towel after three consecutive failed attempts – at which point they&#8217;ll most likely leave your website altogether.</p>
<p style="text-align: left">Who can blame them? The average user doesn&#8217;t understand <em>why </em>they should enter a random string of letters in the first place. It&#8217;s not their problem and they do not care what it is for. For them it&#8217;s some sort of annoying puzzle that stands in the way of doing what they want to do. Not being able to pass it, makes them feel inadequate and frustrated.</p>
<p style="text-align: left">So to avoid repelling your visitors from your website, the new technique &#8220;Anti-Captcha&#8221; has rised.</p>
<p style="text-align: left">The basic idea behind it is simple-<em><span style="color: #000000">&#8220;Create a captcha solution which does not require any end-user interaction&#8221;</span></em></p>
<p style="text-align: left"><strong>How it works<br />
</strong></p>
<p>Basically it is a manipulation of obfuscated javascript together with checksum validation of session. Ihe process includes-</p>
<ol style="text-align: left">
<li>Generation a random token</li>
<li>Store a checksum of this token in session</li>
<li>Generate some obfuscated javascript code which (when interpreted) adds a hidden input-field to every form element on the webpage using the token as a value</li>
<li>Verify the submitted checksum and the checksum stored in session.</li>
</ol>
<p style="text-align: left">As a bonus, this technique should also provide adequate protection against <a href="http://en.wikipedia.org/wiki/Cross-site_request_forgery" target="_blank">XSRF</a>.</p>
<p style="text-align: left"><strong>Requirements<br />
</strong>The technique involves javascript and hence requires javascript enabled on the browser to successfully implement the anti-captcha technique. But the user does need to have javascript enabled for form submission to succeed.</p>
<p style="text-align: left"><strong>Caveats</strong><br />
Obviously this technique isn&#8217;t perfect, at some point bots might gain the ability to interpret javascript or simply read-out the obfuscated code instead. At that time a different approach, with a similar concept, would be needed.</p>
<p style="text-align: left">It should also be possible to fool the Anti-Captcha with the use of “automated mouse-clicking software”. However this should be very hard to combine with botnets &#8211; thus making additional security layers (for example: maximizing form-submission on a per-ip basis) more feasible.</p>
<p style="text-align: left">Another major drawback is the need for javascript to allow form-submissions, which is something you should ponder over yourself. Personally I feel it outweighs the disadvantages image-based Captcha&#8217;s bring in, but this probably depends on the project at hand.</p>
<p style="text-align: left"><strong><br />
</strong></p>
<p style="text-align: left"> </p>
]]></content:encoded>
			<wfw:commentRss>http://arjun.com.np/blog/archives/42/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Friendly URL with XAMPP on Windows</title>
		<link>http://arjun.com.np/blog/archives/30</link>
		<comments>http://arjun.com.np/blog/archives/30#comments</comments>
		<pubDate>Tue, 25 Aug 2009 18:05:38 +0000</pubDate>
		<dc:creator>rahul</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Friendly URL]]></category>
		<category><![CDATA[Url Rewriting]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://arjun.com.np/?p=30</guid>
		<description><![CDATA[<a href="http://arjun.com.np/blog/archives/30"><img align="left" hspace="5" width="150" height="150" src="http://arjun.com.np/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>I had been trying to work with URL rewriting for a couple of days but until today every attempt was in vein. I googled but found almost the similar instructions to edit the .conf file to enable the mod_rewrite. I already had the mod_rewrite module enabled. And almost no solutions worked for me. Then I [...]]]></description>
			<content:encoded><![CDATA[<p>I had been trying to work with URL rewriting for a couple of days but until today every attempt was in vein. I googled but found almost the similar instructions to edit the .conf file to enable the mod_rewrite. I already had the mod_rewrite module enabled. And almost no solutions worked for me.</p>
<p>Then I worked on self and finally overcome the problem. I edited the .htaccess file in the root directory and here is the solution that worked for me:</p>
<p>&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /path/to/root/folder/<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . index.php [L]<br />
&lt;/IfModule&gt;</p>
<p>I tried the same with few other folders and it worked for all.</p>
<p>Note:</p>
<ul>
<li>Windows doesn&#8217;t allow to create a file starting the file name with a . (period). So either an existing .htaccess file has to be copied and edited OR the file has to be created from within other editors like dreamweaver or notepad++.</li>
<li>Make sure to include the line: RewriteEngine On , if rewrite engine is not turned on in the .conf file.</li>
<li>RewriteBase has to be identified properly</li>
<li>Define a proper rewrite rule.</li>
</ul>
<p>Hope this will be helpful for all, if you are trying to make use of friendly url.</p>
]]></content:encoded>
			<wfw:commentRss>http://arjun.com.np/blog/archives/30/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
