<?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>Value your mind &#187; Network Security</title>
	<atom:link href="http://rangit.com/category/network-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://rangit.com</link>
	<description>Interesting. Informative.</description>
	<lastBuildDate>Tue, 03 Jan 2012 10:31:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Hide Your Naughty Homemade Images And Videos</title>
		<link>http://rangit.com/network-security/how-to-hide-your-naughty-homemade-images-and-videos/</link>
		<comments>http://rangit.com/network-security/how-to-hide-your-naughty-homemade-images-and-videos/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 07:14:02 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://rangit.com/network-security/how-to-hide-your-naughty-homemade-images-and-videos/</guid>
		<description><![CDATA[If you are using Windows XP or Vista, you can do this. The technique shown in the video is pretty safe and it effectively hides however many files you want and no one will notice it. Very handy trick if you have naughty files like porn that you won&#8217;t want anyone to check out. In [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using Windows XP or Vista, you can do this. The technique shown in the video is pretty safe and it effectively hides however many files you want and no one will notice it. Very handy trick if you have naughty files like porn that you won&#8217;t want anyone to check out. In the internet world, anything that goes out, stays out. =)</p>
<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/q6AQL55zMR4"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/q6AQL55zMR4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=189&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/network-security/how-to-hide-your-naughty-homemade-images-and-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Fine Example Of SQL Injections</title>
		<link>http://rangit.com/network-security/a-fine-example-of-sql-injections/</link>
		<comments>http://rangit.com/network-security/a-fine-example-of-sql-injections/#comments</comments>
		<pubDate>Thu, 10 May 2007 13:37:38 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://rangit.com/network-security/a-fine-example-of-sql-injections/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/MJNJjh4jORY"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/MJNJjh4jORY" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=163&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/network-security/a-fine-example-of-sql-injections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>11 Methods To Keep Website Logins Safe And Secure Using PHP</title>
		<link>http://rangit.com/programming/11-methods-to-keep-website-logins-safe-and-secure-using-php/</link>
		<comments>http://rangit.com/programming/11-methods-to-keep-website-logins-safe-and-secure-using-php/#comments</comments>
		<pubDate>Thu, 03 May 2007 08:03:40 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://rangit.com/programming/11-methods-to-keep-website-logins-safe-and-secure-using-php/</guid>
		<description><![CDATA[Web based designers who develop login applications should keep these basic security measures in mind. Know that nothing in this world is unbreakable. With enough brain juice and time from God, anything can be broken into. The only thing that any security system can do is to slow down the attacker long enough to capture [...]]]></description>
			<content:encoded><![CDATA[<p>Web based designers who develop login applications should keep these basic security measures in mind. Know that nothing in this world is unbreakable. With enough brain juice and time from God, anything can be broken into. The only thing that any security system can do is to slow down the attacker long enough to capture them and fix the flaws. A good security system is one that is able to protect and recover from assaults. PHP together with MySQL are in the top 5 most popular web language today. Many web design companies use them cause they are free and have supportive user groups that are helpful. The following methods should be in place in any system as a minimum.</p>
<ol>
<h4>
<li>Username and Passwords</li>
</h4>
<p>Passwords are stronger at 8 characters, so keep that as a minimum. These are <a href="http://rangit.com/information-technology/steps-to-create-easy-to-remember-strong-passwords/">4 simple methods that anyone can follow to create easy to remember strong passwords</a>.</p>
<h4>
<li>Never be specific</li>
</h4>
<p>Even student developers are smart enough to just put up a unsuccessful login sign like </p>
<ul>
<li>&#8216;Incorrect password / username&#8217;</li>
<li>&#8216;Unsuccessful login attempt&#8217;</li>
</ul>
<p>Never give out clues or leads that will help intruders like </p>
<ul>
<li>&#8216;Password is missing one letter&#8217;</li>
<li>&#8216;Username is not found&#8217;</li>
</ul>
<h4>
<li>Hiding Errors Messages</li>
</h4>
<p>Placing @ in front of many of PHP function calls will stop any failure message from showing in the browser window. The ampersand symbol becomes useful when database calls are made during database downtime. This will keep the website looking professional while reducing feedback to intruders.</p>
<h4>
<li>Encrypt passwords in user account table</li>
</h4>
<p>Even if the intruder is successful in gaining access to the table, they should only be able to see logins and not passwords. Encrypt all passwords in the table to hold an SHA-1 encrypted string before you compare the user input password to the one stored in the database. </p>
<ul>
<li>Example Code<br />
$encrypted = sha1($password);</li>
<li>Example database data<br />
Username : rangit<br />
Password : d0be2dc421be4fcd0172e5afceea3970e2f3d940</li>
</ul>
<h4>
<li>Keep a log of all user activities</li>
</h4>
<p>Log the total number of logins for each user, as well as the data/time of their last login.</p>
<h4>
<li>Remove ALL backslashes</li>
</h4>
<p>Prevent your code from breaking unexpectedly by using ready made PHP functions like strip_tags(), str_replace() and stripslashes().</p>
<ul>
<li>Example code<br />
$login = @strip_tags($login);<br />
$login = @stripslashes($login);</li>
</ul>
<h4>
<li>Use &#8216;maxlength&#8217; in forms</li>
</h4>
<p>Limit the user to the allocated input size. </p>
<h4>
<li>Importance of referrer</li>
</h4>
<p>Make login scripts to check HTTP_REFERER to see that the request came from the same server. This security measure will stop simple spam bots and amateur attackers.</p>
<h4>
<li>Use $_POST not $_REQUEST</li>
</h4>
<p>If your HTML form uses POST to send the data to the login script, then make sure your login script gets the input data using $_POST and not $_REQUEST to prevent someone to pass data via GET, on the end of the URL string.</p>
<h4>
<li>SSL Encryption (https)</li>
</h4>
<p>If you think the website deserves the best of data privacy, purchase an SSL certificate to encrypt the pages.</p>
<h4>
<li>Limit user access according roles</li>
</h4>
<p>This is one of the most important method to <a href="http://rangit.com/programming/6-ways-on-how-to-prevent-sql-injections/">prevent SQL injetions</a>. Classify groups and distribute features and functionality based on roles. For example</p>
<ul>
<li>Cashers can only enter in sales, and not delete it</li>
<li>HR personals should only see employee information, and not the financial data</li>
</ul>
</ol>
<p><font style="line-height: 12px; font-size: 11px; font-family: verdana; arial; sans-serif;"><strong><a href="http://www.eioba.com/c71/computer"><u>eioba</u></a></strong></font><br />
<font style="line-height: 16px; font-size: 10px; font-family: verdana; arial; sans-serif;" >Intelligent articles database</font></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=158&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/programming/11-methods-to-keep-website-logins-safe-and-secure-using-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>15 Commonly Used Programs That Come With Spyware</title>
		<link>http://rangit.com/software/15-commonly-used-programs-that-come-with-spyware/</link>
		<comments>http://rangit.com/software/15-commonly-used-programs-that-come-with-spyware/#comments</comments>
		<pubDate>Wed, 25 Apr 2007 08:35:10 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://rangit.com/software/15-commonly-used-programs-that-come-with-spyware/</guid>
		<description><![CDATA[Know that spyware has overtaken viruses as the largest online threat, infecting 90% of internet connected PCs. It&#8217;s important to be aware of the risks that spyware poses. Spyware can be classifies into 3 different groups. Severe Threat â€“ Spywares from this group is the most dangerous of all. They log user keystrokes, which means [...]]]></description>
			<content:encoded><![CDATA[<p>Know that spyware has overtaken viruses as the largest online threat, <a href="http://www.adwarereport.com/mt/archives/what_is_spyware.php">infecting 90% of internet connected PCs</a>. It&#8217;s important to be aware of the risks that spyware poses. Spyware can be classifies into 3 different groups.</p>
<p><strong>Severe Threat</strong> â€“ Spywares from this group is the most dangerous of all. They log user keystrokes, which means everything that the person types is gathered. Imagine yourself typing &#8216;paypal.com&#8217;. Surely the next thing that is logged would be the username and password. Imagine the pain for losing all the money in paypal. 15 out of 100 computers infected belong here.</p>
<p><strong>Moderate Threat</strong> â€“  Installed programs, internal IP address, OS version, the existence and versions of service packs and security updates and TCP ports the spyware is listening to are some of the data sent across. Though it is less risky that the severe threat group, it&#8217;s still bad. It&#8217;s like having spycams around the house. 25 out of 100 computers infected are in this group.</p>
<p><strong>Minor Threat</strong> â€“ commercial-value information about the end user&#8217;s browsing habits are collected. This is like a supermarket installing a spycam in your kitchen, to know what you have and don&#8217;t have, so that they can knock on your door and present you with the right stuff that you are missing, with the likelihood of you buying it. 60 out of 100 infected computers lie in this group.</p>
<p>Spywares not only steal personal information, they also :</p>
<ul>
<li>consumes resources on your PC which disrupts workflow.</li>
<li>causes PC crashes</li>
<li>interferes with the web browser, slowing it down and causing downloads to fail. It can even hijack the browser to redirect you to sites containing unwanted contents.</li>
<li>annoy you with annoying popup ads that fit your preferences from the information gathered.</li>
<li>costs you money if your internet service provider charge you by the hour.</li>
</ul>
<p>Here are 15 commonly used programs distributed with spyware. Seriously, be very careful.</p>
<ol>
<li>Bonzi Buddy</li>
<li>Dope Wars</li>
<li>ErrorGuard</li>
<li>Grokster</li>
<li>Kazaa</li>
<li>Morpheus</li>
<li>RadLight</li>
<li>WeatherBug</li>
<li>EDonkey2000</li>
<li>Sony&#8217;s Extended Copy Protection involved the installation of spyware from audio compact discs through autorun. This practice sparked considerable controversy when it was discovered.</li>
<li>WildTangent</li>
<li>AOL Instant Messenger &#8211; it is still bundled with Viewpoint Media Player and WildTangent</li>
<li>DivX &#8211; prior to version 5.2</li>
<li>LimeWire &#8211; prior to version 3.9.3</li>
<li>FlashGet &#8211; before being converted to freeware</li>
</ol>
<p>Do you know that spyware removal tools won&#8217;t remove spywares that are bundled with non-spyware programs? The reason is because there is a clause in the terms and conditions which prevents them from being removed, unless the non-spyware program is removed together with it. I believe 99% of us don&#8217;t read the t&#038;c. I don&#8217;t. I&#8217;ll just keep clicking next until the installation is finished.</p>
<p><a href="http://www.lavasoftusa.com/">Ad-aware</a> and <a href="http://www.spybot.info/">Spybot</a> are the 2 most reliable FREE anti spyware that I have tried so far. They have been doing their job well. I&#8217;d recommend those 2, if you haven&#8217;t got any.</p>
<p><font style="line-height: 12px; font-size: 11px; font-family: verdana; arial; sans-serif;"><strong><a href="http://www.adwarereport.com/mt/archives/what_is_spyware.php"><u>Computer Security Software Reviews</u></a></strong></font><br />
<font style="line-height: 16px; font-size: 10px; font-family: verdana; arial; sans-serif;" >Are you infected with spyware?</font></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=154&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/software/15-commonly-used-programs-that-come-with-spyware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unproductive Internet Usage And The Most Threatened IM In The World</title>
		<link>http://rangit.com/internet/unproductive-internet-usage-and-the-most-threatened-im-in-the-world/</link>
		<comments>http://rangit.com/internet/unproductive-internet-usage-and-the-most-threatened-im-in-the-world/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 03:27:41 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Instant Messenger]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://rangit.com/internet/unproductive-internet-usage-and-the-most-threatened-im-in-the-world/</guid>
		<description><![CDATA[That is according to ScanSafe&#8217;s Global Threat Report on February 2007. Unproductive simply means that the sites visited are not in line with the work of the company. Unproductive sites include : online chat gambling music porn dating &#038; relationships webmail During sporting events like the Super Bowl and World Cup, gambling and sporting sites [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://img172.imageshack.us/img172/3314/scansafexx8.jpg" alt="scan safe" /></p>
<p>That is according to ScanSafe&#8217;s Global Threat Report on February 2007. Unproductive simply means that the sites visited are not in line with the work of the company. Unproductive sites include :</p>
<ul>
<li>online chat</li>
<li>gambling</li>
<li>music</li>
<li>porn</li>
<li>dating &#038; relationships</li>
<li>webmail</li>
</ul>
<p>During sporting events like the Super Bowl and World Cup, gambling and sporting sites will top the list. ScanSafe saw a traffic increase of 77% in US based request to gambling and sporting sites during the week before Super Bowl.</p>
<p>The highly unnecessary internet usage risks the company to exposure of :</p>
<ul>
<li>legal liability</li>
<li>disclosure of confidential information</li>
<li>breaches of compliance requirements</li>
<li>unnecessary bandwidth consumption</li>
</ul>
<p>Did you know that MSN is the most threatened IM in the world? and it has been the No.1 since February 2006. A total of 54% of unique threats were blocked for MSN while 21% went to Yahoo.</p>
<p><font style="line-height: 12px; font-size: 11px; font-family: verdana; arial; sans-serif;"><strong><a href="http://www.scansafe.com/"><u>ScanSafe</u></a></strong></font><br />
<font style="line-height: 16px; font-size: 10px; font-family: verdana; arial; sans-serif;" >Web security as a service</font></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=153&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/internet/unproductive-internet-usage-and-the-most-threatened-im-in-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Little Known Ways To Trace IP Addresses From Anywhere In The World</title>
		<link>http://rangit.com/information-technology/little-known-ways-to-trace-ip-addresses-from-anywhere-in-the-world/</link>
		<comments>http://rangit.com/information-technology/little-known-ways-to-trace-ip-addresses-from-anywhere-in-the-world/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 10:28:00 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://rangit.com/information-technology/little-known-ways-to-trace-ip-addresses-from-anywhere-in-the-world/</guid>
		<description><![CDATA[Trace Any IP Address In The World See a satellite image of the place in the world it comes from]]></description>
			<content:encoded><![CDATA[<p><embed src="http://www.metacafe.com/fplayer/435158/trace_any_ip_address_in_the_world.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></p>
<p><font style="line-height: 12px; font-size: 11px; font-family: verdana, arial, sans-serif;"><strong><a href="http://www.metacafe.com/watch/435158/trace_any_ip_address_in_the_world/"><u>Trace Any IP Address In The World</u></a></strong></font><br />
<font style="line-height: 16px; font-size: 10px; font-family: verdana, arial, sans-serif;" >See a satellite image of the place in the world it comes from</font></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=146&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/information-technology/little-known-ways-to-trace-ip-addresses-from-anywhere-in-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 Simple Steps To Create Easy To Remember Strong Passwords</title>
		<link>http://rangit.com/information-technology/steps-to-create-easy-to-remember-strong-passwords/</link>
		<comments>http://rangit.com/information-technology/steps-to-create-easy-to-remember-strong-passwords/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 04:23:59 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://rangit.com/information-technology/steps-to-create-easy-to-remember-strong-passwords/</guid>
		<description><![CDATA[Hackers, Hackers. Dangerous as hell, once you have something of value to them. They could be colleague, classmate, or even a lover. If you use Gmail, Yahoo!, MSN Messenger or you are active in forums, you&#8217;re at risk if you use weak passwords. If you use Adsense, Paypal and do online banking, you gotta come [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://img441.imageshack.us/img441/1920/usblockwv8.jpg" alt="usb lock" /></p>
<p>Hackers, Hackers. Dangerous as hell, once you have something of value to them. They could be colleague, classmate, or even a lover. If you use Gmail, Yahoo!, MSN Messenger or you are active in forums, you&#8217;re at risk if you use weak passwords. If you use Adsense, Paypal and do online banking, you gotta come up with even stronger passwords. </p>
<p>Sometimes, you do come up with strong passwords, using unfamiliar random characters that are hard to break but also hard to remember at the same time. I have a friend who once kept his ATM Machine password in his wallet. How dumb is that? One fine day, he lost not only his wallet, but also $3000 (withdrawal limit for a day) from his bank. Nothing in the world could be done. In this case, even the bank&#8217;s cctv was useless.</p>
<p>A lot of sites that I googled suggested recording passwords on paper or storing it in password managers. That&#8217;s dumb cause the password manager will ask you for a password as well. Don&#8217;t you think you&#8217;d have to come up with an easier key password for the password manager so that you don&#8217;t forget? Imagine if you depended on it, and you lost your key password. Imagine if someone managed to break into your password manager. Imagine the loss. Imagine the sadness. There&#8217;s no safer place in this world to keep our passwords than the brain.</p>
<p>So here&#8217;s my method of coming up with super strong and easy to remember passwords.</p>
<ol>
<h4>
<li>Standardization And Uniformity</li>
</h4>
<p>I suggest using all 3 character types below:</p>
<ul>
<li>Alphabets : abc &#8230; z</li>
<li>Numbers : 012 &#8230; 9</li>
<li>Mathematical Symbols : +-*/</li>
</ul>
<p>Why just these 3? Cause some websites don&#8217;t allow spaces, @#$%^&#038;* symbols, or even differentiate upper or lower cases. Let&#8217;s just keep it standard by using small case alphabets, numbers and basic maths symbols. This way, we keep our passwords uniformed and easy to remember.</p>
<h4>
<li>Objects Around You</li>
</h4>
<p>You can use tvs, flowers, soft toys, computers, tupperware, handphones, anything that you will come across everyday is most suitable. In this case, let me use my house&#8217;s toilet. In my house there are 3 toilets. And the toilet bowl and flush tank of all 3 are made by Armitage Shanks of UK.</p>
<h4>
<li>Arranging And Combining</li>
</h4>
<p>Think of ways to include alphabets, numbers and the math symbols together. For example, </p>
<ul>
<li>3-armitage-shanks</li>
<li>armitage-shanks-of-uk/3</li>
<li>2+1-very-smelly-toilets (I have 2 toilets upstairs and 1 downstairs)</li>
</ul>
<p>That&#8217;s it. The 3 examples above are very very strong. Very, indeed. And I bet you can remember it easily. No writing down in paper, no keeping it in your computer. If you&#8217;re still not satisfied with the 3 steps above, here&#8217;s a fourth step, just for you.</p>
<h4>
<li>Remove The Vowels</li>
</h4>
<ul>
<li>3-rmtg-shnks</li>
<li>rmtg-shnks-f-k/3</li>
<li>2+1-vr-smll-tlts</li>
</ul>
<p>Now it&#8217;s really much stronger! And you will still remember it really easily. Really.
</ol>
<p>Last but not least, check your password&#8217;s strength at Microsoft&#8217;s Password Checker. If passwords you own that guard important stuff is labeled as &#8216;weak&#8217; or &#8216;medium&#8217;, change them immediately. Start making yourself easy to remember strong passwords. =)</p>
<p><font style="line-height: 12px; font-size: 11px; font-family: verdana, arial, sans-serif;"><strong><a href="https://www.microsoft.com/athome/security/privacy/password_checker.mspx"><u>Microsoft Password Checker</u></a></strong></font><br />
<font style="line-height: 16px; font-size: 10px; font-family: verdana, arial, sans-serif;" >Check your password&#8217;s strength</font></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=144&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/information-technology/steps-to-create-easy-to-remember-strong-passwords/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>6 Ways On How To Prevent SQL Injections</title>
		<link>http://rangit.com/programming/6-ways-on-how-to-prevent-sql-injections/</link>
		<comments>http://rangit.com/programming/6-ways-on-how-to-prevent-sql-injections/#comments</comments>
		<pubDate>Mon, 09 Apr 2007 09:20:44 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://rangit.com/programming/6-ways-on-how-to-prevent-sql-injections/</guid>
		<description><![CDATA[Basically, SQL injections happens when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed. Any webmaster creating web applications that involves database manipulation will have to take these measures to prevent SQL injections. According to WhiteHat Security&#8217;s statistics, [...]]]></description>
			<content:encoded><![CDATA[<p>Basically, SQL injections happens when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed. Any webmaster creating web applications that involves database manipulation will have to take these measures to prevent SQL injections.</p>
<p>According to <a href="http://www.whitehatsec.com/home/resources/presentations/files/wh_security_stats_webinar.pdf">WhiteHat Security&#8217;s statistics</a>, there is a 20% likelihood that 8 out of 10  websites have a vulnerability in the area of SQL Injections.</p>
<ol>
<h4>
<li>Keeping It Clean</li>
</h4>
<p>For example, it is important to make sure that users insert only codes that have these characters in the email field :</p>
<ul>
<li>abcdefghijklmnopqrstuvwxyz<br />
ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
0123456789<br />
@.-_+</li>
</ul>
<h4>
<li>Quotes Quotes Quotes</li>
</h4>
<p>Many database interface languages caters to the need of safe-quoting text. For example, MySQL uses 2 functions to &#8216;string quote&#8217; and to &#8216;string parse&#8217; :</p>
<ul>
<li>mysql_real_escape_string() adds backslashes in front of all the quotation marks.</li>
<li>stripslashes() removes backslashes in front of the quotation marks.</li>
</ul>
<h4>
<li>Bounding Parameters</li>
</h4>
<ul>
<li><strong>Insecure</strong></li>
<p>Statement s = connection.createStatement();<br />
ResultSet rs = s.executeQuery(&#8220;SELECT email FROM member WHERE name = &#8221; + formField); // *boom*</p>
<li><strong>Secure</strong></li>
<p>PreparedStatement ps = connection.prepareStatement(&#8220;SELECT email FROM member WHERE name = ?&#8221;);<br />
ps.setString(1, formField);<br />
ResultSet rs = ps.executeQuery();
</ul>
<p>Above is an example of bound parameters in Java. Neither quotes, semicolons, backslashes nor SQL comment notations are able to corrupt the string because it&#8217;s been turned into data. Bounding parameters is one of the most important step anyone can take to truly secure the database from injection attacks.</p>
<h4>
<li>Rights Management</li>
</h4>
<p>Web applications should use connections to the database with as little rights as possible. Web applications should start with only 1 type of access which is query access to members table. This method eliminates the possibility of using the &#8216;UPDATE&#8217; statement to taint the database. Let rights access be progressive, like allowing more flexibility only after a successful user validation.</p>
<h4>
<li>Making Use Of Stored Procedures</li>
</h4>
<p>As long as the interface on the stored procedure stays the same, the table structure can change with no consequence to the application that is using the database. This layer of abstraction is like an extra barrier because table permission is implicitly set. By only allowing database modifications through stored procedures, tables are safe from exposure to external applications.</p>
<h4>
<li>Separating TRUSTED and UNTRUSTED networks</li>
</h4>
<p>A DMZ is a computer network that is accessible from two other computer networks that have no direct contact with each other. Often, one of these networks is the Internet and the other is a local, internal network. Having a web server with very, very little  access in a DMZ prevents total control of all networks, even if one manages to take full control of the machine.
</ol>
<p><font style="line-height: 12px; font-size: 11px; font-family: verdana, arial, sans-serif;"><strong><a href="http://www.unixwiz.net/techtips/sql-injection.html"><u>SQL Injection Attacks</u></a></strong></font><br />
<font style="line-height: 16px; font-size: 10px; font-family: verdana, arial, sans-serif;" >Useful tips on SQL injection attacks</font></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=137&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/programming/6-ways-on-how-to-prevent-sql-injections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Know If My Website Is Secure</title>
		<link>http://rangit.com/web-development/how-to-know-if-my-website-is-secure/</link>
		<comments>http://rangit.com/web-development/how-to-know-if-my-website-is-secure/#comments</comments>
		<pubDate>Fri, 06 Apr 2007 08:39:13 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://rangit.com/web-development/how-to-know-if-my-website-is-secure/</guid>
		<description><![CDATA[Hi guys. Here&#8217;s a neat, FREE software called Wikto by Sensepost which allows you and I to quickly perform web server assessments. Wikto will find interesting directories and files on the web site look for sample scripts that can be abused find known vulnerabilities in the web server implementation itself So I tested it out [...]]]></description>
			<content:encoded><![CDATA[<p>Hi guys. Here&#8217;s a neat, FREE software called Wikto by Sensepost which allows you and I to quickly perform web server assessments. Wikto will </p>
<ul>
<li>find interesting directories and files on the web site</li>
<li>look for sample scripts that can be abused</li>
<li>find known vulnerabilities in the web server implementation itself</li>
</ul>
<p>So I tested it out in rangit.com and found around 30 light vulnerabilities. I was a bit shocked to find such a list. Really. There were a few requests that hackers can use to execute SQL Injections. Scary but REAL. Remember, with this tool you can scan any website for their vulnerabilities. Here&#8217;s a screenshot of mine.</p>
<p><img src="http://img245.imageshack.us/img245/9909/wiktoscantl5.gif" alt="wikto scan" /></p>
<p>To use Wikto you need to get 2 other things.</p>
<ol>
<li><a href="http://www.httrack.com/page/2/en/index.html">WinHTTrack</a></li>
<li><a href="http://net-square.com/httprint/#downloads">HTTprint</a></li>
</ol>
<p>After successfully installing all 3 softwares, go to Wikto&#8217;s &#8216;SystemConfig&#8217; tab. There are 4 important things to configure for Wikto to work.</p>
<p><img src="http://img153.imageshack.us/img153/7935/wiktosysconfighm6.gif" alt="wikto sysconfig" /></p>
<ol>
<h4>
<li>HTTrack</li>
</h4>
<p>Locate the HTTrack folder and point to the file &#8216;httrack.exe&#8217; in your program files.</p>
<h4>
<li>Cache</li>
</h4>
<p>Create a new folder for storing data. I created one in C: and named it &#8216;Temp&#8217;. After creating, point to it.</p>
<h4>
<li>HTTPrint</li>
</h4>
<p>Locate HTTPrint folder and point to the file called &#8216;win32&#8242;.</p>
<h4>
<li>NiktoDB</li>
</h4>
<p>Click on the button and download the latest database for scanning. This is essential for first timers.
</ol>
<p>After that, go to the &#8216;Wikto&#8217; tab and enter a website. Click &#8216;Start Wikto&#8217;. Basic tests commands will be carried out from NiktoDB. Watch the scanned vulnerabilities appear one by one.</p>
<p>The solution would be to talk to your web host about the scan results. Show what you&#8217;ve found and and see what your web host says.</p>
<p><font style="line-height: 12px; font-size: 11px; font-family: verdana, arial, sans-serif;"><strong><a href="http://www.sensepost.com/research/wikto/"><u>Sensepost Wikto</u></a></strong></font><br />
<font style="line-height: 16px; font-size: 10px; font-family: verdana, arial, sans-serif;" >Web server assessment tool</font></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=131&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/web-development/how-to-know-if-my-website-is-secure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>9 Simple Steps To Completely Protect Your PC (Part 2)</title>
		<link>http://rangit.com/network-security/9-simple-steps-to-completely-protect-your-pc-part-2/</link>
		<comments>http://rangit.com/network-security/9-simple-steps-to-completely-protect-your-pc-part-2/#comments</comments>
		<pubDate>Wed, 21 Mar 2007 06:55:14 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://rangit.com/network-security/9-simple-steps-to-completely-protect-your-pc-part-2/</guid>
		<description><![CDATA[6. Configure your operating system properly Configure Windows so that it displays all file extensions, including those of known file types. Note that even with this option set, Windows will still hide the extensions of a few select file types, such as .shs and .pif. To circumvent this, you can delete all occurrences of the [...]]]></description>
			<content:encoded><![CDATA[<h4>
<li>6. Configure your operating system properly</li>
</h4>
<p>Configure Windows so that it displays all file extensions, including those of known file types. Note that even with this option set, Windows will still hide the extensions of a few select file types, such as .shs and .pif. To circumvent this, you can delete all occurrences of the string &#8220;NeverShowExt&#8221; (without the quotes) in the registry using regedit.exe. Be very cautious when you edit the registry! Do it only if you know what you are doing!</p>
<p>Most Windows versions come with the Windows Scripting Host (WSH), which allows for execution of VBS (Visual Basic Script) and JS (JScript) files. These files can contain malicious code.</p>
<p>You can prevent the accidental execution of script based malware by setting the default action for VBS/VBE and JS/JSE to &#8220;Edit&#8221;, so that such files will be opened in Notepad. If case you really want to run such a file, then you will still be able to right-click on it and select &#8220;Open&#8221;.</p>
<p>If you are not on a LAN (local area network), disable file and printer sharing in the Network options of the Control Panel. If you need to have file and printer sharing enabled, make sure that you are sharing only the items that really need to be shared. Never share entire drives or important folders like the Windows folder, and do not allow write access unless you have to. It&#8217;s also of paramount importance to set strong passwords for the shares. Passwords should be as long as possible and consist of a mix of letters, numbers, punctuation signs, etc.</p>
<p>Take a look at <a href="http://www.pcflank.com">PC Flank</a>.</p>
<h4>
<li>7. Preserving your privacy</li>
</h4>
<p>Never, ever :</p>
<ul>
<li>use the &#8220;Unsubscribe&#8221; feature of spam emails or reply to spam mails because by doing so, you confirm the validity of your email address and the spammer can keep on sending you unsolicited commercial email, which you probably don&#8217;t want.</li>
<li>The proper way to deal with spam is to delete it and, if you wish to do so, complain about it to the sender&#8217;s Internet Service Provider (you need to analyze the message headers to determine the ISP, do not rely on the sender&#8217;s alleged email address which is probably forged or fake in most cases).</li>
<li>select the option on web browsers for storing or retaining user name and password.</li>
<li>disclose personal, financial, or credit card information to little-known or suspect web sites.</li>
<li>use a computer or a device that cannot be fully trusted.</li>
<li>use public or Internet cafÃ© computers to access online financial services accounts or perform financial transactions.</li>
</ul>
<h4>
<li>8. Be careful with extensions</li>
</h4>
<p>Pay attention to files with multiple extensions. Generally, the last extension is the relevant one. For example, a file named</p>
<p>      hello.mp3.exe</p>
<p>      is an executable program (.exe) and not a MP3 file!</p>
<p>However, that if you are using Outlook Express and see a file with three extensions, Outlook Express may consider the second extension to be relevant, so that a file named</p>
<p>      hello.mp3.exe.jpg</p>
<p>      is an executable program (.exe) and neither an MP3 file nor a JPG file!</p>
<p>That&#8217;s why it&#8217;s important to follow the procedure outlined in section 4 for opening unknown files. You can&#8217;t go wrong by simply ignoring any file with more than one extension.</p>
<ul>
<li>Set the boot sequence to C: first in the BIOS. This can be &#8220;C only&#8221;, &#8220;C,A&#8221; or whatever you want as long as C: comes first.</li>
<li>Regularly back-up your data.</li>
<li>Install a good firewall. I use <a href="http://www.netveda.com/consumer/safetynet.htm">NetVeda Safety.Net</a> free firewall. Its performance is quite outstanding and it offers application control and content filtering as well. This highly capable product deserves to be better known and experienced users should definitely put it on their short list.</li>
</ul>
<h4>
<li>9. If you still get hit by a virus</li>
</h4>
<p>RELAX!</p>
<p>Very often users will do more damage with panicked recovery attempts than a virus or Trojan horse would have.</p>
<p>Go to these sites to ask for help.<br />
<a href="http://groups.google.com/groups?hl=en&#038;group=alt.comp.virus">alt.comp.virus on Google</a><br />
<a href="alt.comp.anti-virus on Google ">alt.comp.anti-virus on Google</a></p>
<p><font style="line-height: 12px; font-size: 11px; font-family: verdana, arial, sans-serif;"><strong><a href="http://www.microsoft.com/windowsxp/using/security/expert/honeycutt_spyware.mspx"><u>Protect Against Spyware</u></a></strong></font><br />
<font style="line-height: 16px; font-size: 10px; font-family: verdana, arial, sans-serif;" >Microsoft&#8217;s anti malware methods</font></p>
<img src="http://rangit.com/?ak_action=api_record_view&id=116&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rangit.com/network-security/9-simple-steps-to-completely-protect-your-pc-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

