<?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>Shibumi Dojo &#187; password</title>
	<atom:link href="http://www.shibumidojo.org/index.php/tag/password/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shibumidojo.org</link>
	<description></description>
	<lastBuildDate>Mon, 16 Jan 2012 07:48:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Securing Your Passwords</title>
		<link>http://www.shibumidojo.org/index.php/2009/09/13/securing-your-passwords/</link>
		<comments>http://www.shibumidojo.org/index.php/2009/09/13/securing-your-passwords/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 10:59:58 +0000</pubDate>
		<dc:creator>CorpusCallosum</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[secure passwords]]></category>

		<guid isPermaLink="false">http://www.shibumidojo.org/?p=329</guid>
		<description><![CDATA[Password problems are quite common issues and making them secure is probably the fundamental protection for cyber security. However, most of the companies and individual internet users still have not password policies for their internet activities. Generally people have password dilemmas between easy remembered and complex passwords. This guide will help you to understand how [...]]]></description>
			<content:encoded><![CDATA[<p>Password problems are quite common issues and making them secure is probably the fundamental protection for cyber security. However, most of the companies and individual internet users still have not password policies for their internet activities. Generally people have password dilemmas between easy remembered and complex passwords. This guide will help you to understand how you can create complex passwords and at the end of the article i will give a python code which creates complex and more secure passwords. <span id="more-329"></span></p>
<p>Due to cost and compatibility with legacy systems, the most popular form of user authentication continues to be a secret password.</p>
<ul>
<li>Users may write them down or share them, so that they are no longer    really secret.</li>
<li>Passwords can be guessed, either by a person or a program designed to    quickly try many possibilities.</li>
<li>Passwords may be transmitted over a network either in plaintext, or    encoded in a way which can be readily converted back to plaintext.</li>
<li>Passwords may be stored on a workstation, server or backup media    in plaintext, or encoded in a way which can be readily converted back    to plaintext.</li>
</ul>
<p>The fundamental and the biggest problem is remembering complex passwords for the people. When people have trouble remembering their passwords, they do one or more of the following things:</p>
<ul>
<li>Write down their passwords &#8212; and reduce security to the protection    afforded by a piece of paper.</li>
<li>Forget their passwords &#8212; and require frequent assistance from a    computer help desk organization to reset it.</li>
<li>Use very simple, easily compromised passwords.</li>
<li>Reuse old passwords as often as possible.</li>
</ul>
<p>The number of possible password combinations is calculated by taking the number of legal characters in a password, and raising that number to the number of characters in the password.  The possibilities for some likely combinations are shown below:</p>
<table cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td valign="top" align="left" class="textbl"><b>Legal characters</b></td>
<td valign="top" align="left" class="textbl">5</td>
<td valign="top" align="left" class="textbl">6</td>
<td valign="top" align="left" class="textbl">7</td>
<td valign="top" align="left" class="textbl">8</td>
<td valign="top" align="left" class="textbl">9</td>
<td valign="top" align="left" class="textbl">10</td>
</tr>
<tr>
<td valign="top" align="left" class="textbl">0-9</td>
<td valign="top" align="left" class="textbl"><span style="color: rgb(0, 0, 0);">1.00e05</span></td>
<td valign="top" align="left" class="textbl">1.00e06</td>
<td valign="top" align="left" class="textbl">1.00e07</td>
<td valign="top" align="left" class="textbl">1.00e08</td>
<td valign="top" align="left" class="textbl">1.00e09</td>
<td valign="top" align="left" class="textbl">1.00e10</td>
</tr>
<tr>
<td valign="top" align="left" class="textbl">a-z</td>
<td valign="top" align="left" class="textbl">1.19e07</td>
<td valign="top" align="left" class="textbl">3.09e08</td>
<td valign="top" align="left" class="textbl">8.03e09</td>
<td valign="top" align="left" class="textbl">2.09e11</td>
<td valign="top" align="left" class="textbl">5.43e12</td>
<td valign="top" align="left" class="textbl">1.41e14</td>
</tr>
<tr>
<td valign="top" align="left" class="textbl">a-z,0-9</td>
<td valign="top" align="left" class="textbl">6.05e07</td>
<td valign="top" align="left" class="textbl">2.18e09</td>
<td valign="top" align="left" class="textbl">7.84e10</td>
<td valign="top" align="left" class="textbl">2.82e12</td>
<td valign="top" align="left" class="textbl">1.02e14</td>
<td valign="top" align="left" class="textbl">3.66e15</td>
</tr>
<tr>
<td valign="top" align="left" class="textbl">a-z,0-9,3 punct</td>
<td valign="top" align="left" class="textbl">9.02e07</td>
<td valign="top" align="left" class="textbl">3.52e09</td>
<td valign="top" align="left" class="textbl">1.37e11</td>
<td valign="top" align="left" class="textbl">5.35e12</td>
<td valign="top" align="left" class="textbl">2.09e14</td>
<td valign="top" align="left" class="textbl">8.14e15</td>
</tr>
<tr>
<td valign="top" align="left" class="textbl">a-z,A-Z</td>
<td valign="top" align="left" class="textbl">3.80e08</td>
<td valign="top" align="left" class="textbl">1.98e10</td>
<td valign="top" align="left" class="textbl">1.03e12</td>
<td valign="top" align="left" class="textbl">5.35e13</td>
<td valign="top" align="left" class="textbl">2.78e15</td>
<td valign="top" align="left" class="textbl">1.45e17</td>
</tr>
<tr>
<td valign="top" align="left" class="textbl">a-z,A-Z,0-9</td>
<td valign="top" align="left" class="textbl">9.16e08</td>
<td valign="top" align="left" class="textbl">5.68e10</td>
<td valign="top" align="left" class="textbl">3.52e12</td>
<td valign="top" align="left" class="textbl">2.18e14</td>
<td valign="top" align="left" class="textbl">1.35e16</td>
<td valign="top" align="left" class="textbl">8.39e17</td>
</tr>
<tr>
<td valign="top" align="left" class="textbl">a-z,A-Z,0-9,32 punct</td>
<td valign="top" align="left" class="textbl">7.34e09</td>
<td valign="top" align="left" class="textbl">6.90e11</td>
<td valign="top" align="left" class="textbl">6.48e13</td>
<td valign="top" align="left" class="textbl">6.10e15</td>
<td valign="top" align="left" class="textbl">5.73e17</td>
<td valign="top" align="left" class="textbl">5.39e19</td>
</tr>
</tbody>
</table>
<p>Users must be obliged to choose their passwords from the widest possible set of characters, subject to the constraints of the systems where those passwords reside.  For example, most mainframes do not distinguish between uppercase and lowercase, and only allow three punctuation marks (fourth row in the table above).</p>
<p>It is possible to divide creating secure passwords into two basic criterias; password length and password complexity. The passwords length is important to increase sample space of the probability, so at least 7 characters passwords must be used. However, this is not enough to provide protection. Additionally, password complexity is the supplementary precaution for the password security. The complexity consists of using lower case alphabets, upper case alphabets, numbers and special characters.</p>
<p><strong><em>So with these information above, how can it be possible to create secure passwords?</em></strong></p>
<p>The first thing to fallow <em>Comlen&nbsp;</em>rule. Never heard about it ? Don&#8217;t worry ! this is what i called it&#8230; <em>Comlen </em>means <em>enough complexity with enough length</em>. For example, 8 unique characters with 4 complexity units&nbsp;(1 uppercase, 1 lowercase, 1 number, 1 special char). As I mentiioned you above, these kind of password structures are not easy remembered unfortunately. Even remembering the complex passwords is the best solution, if you cannot do that, you can use password manager programmes. Using password management tool to store passwords should really become a habit. Anytime you create a password, note it down on a password manager tool, that will encrypt the password and store it safe for you. Another deal is using passphares to remember them. If you don&rsquo;t want to use password management tool, Use Passphrase to easily remember the passwords. You can use initials of a song or a phrase that are very familiar to you. for e.g. &ldquo;Passwords are like underwears, change yours often!&rdquo; phrase can be converted to a strong password &ldquo;Prlu,Curs0!&rdquo;</p>
<p>There are common senses below. All the following points are nothing new and very much common senses. But most of the time, we tend to ignore these items.</p>
<ol>
<li>Create unique passwords every time.</li>
<li>Change your passwords for all your accounts once every 6 months.</li>
<li>Never write down your passwords.</li>
<li>Don&rsquo;t share with anyone.</li>
<li>Never keep the same password for two different sites.</li>
<li>Don&rsquo;t type your password when someone is looking over your shoulder.</li>
<li>Never send your password to anybody in an email.</li>
<li>Change password immediately when they are compromised.</li>
<li>Don&rsquo;t use the &ldquo;Remember password&rdquo; option on the browser without setting the Master Password.</li>
<li>Don&rsquo;t type your password on a computer that does not belong to you.</li>
</ol>
<p>There is a simple python function which produces complex passwords:</p>
<p>&nbsp;</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">def</span> ProducePass<span class="br0">&#40;</span><span class="br0">&#41;</span>:</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; Alphabet = <span class="st0">&#8216;abcdefghijklmnopqrstuvwxyz@!+-*/ABCDEFGHİJKLMNOPRSTUVYZ123456789&#8242;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; minnmbchar = <span class="nu0">8</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; maxnmbchar = <span class="nu0">16</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; numberofpass= <span class="nu0">10</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw3">string</span>=<span class="st0">&#8221;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; FILE = <span class="kw2">open</span><span class="br0">&#40;</span><span class="st0">&quot;password.txt&quot;</span>,<span class="st0">&quot;a&quot;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">for</span> count <span class="kw1">in</span> <span class="kw2">xrange</span><span class="br0">&#40;</span><span class="nu0">1</span>,numberofpass<span class="br0">&#41;</span>:</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp;<span class="kw1">for</span> x <span class="kw1">in</span> <span class="kw3">random</span>.<span class="me1">sample</span><span class="br0">&#40;</span>Alphabet,<span class="kw3">random</span>.<span class="me1">randint</span><span class="br0">&#40;</span>minnmbchar,maxnmbchar<span class="br0">&#41;</span><span class="br0">&#41;</span>:</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">string</span>+=x</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;FILE.<span class="me1">write</span><span class="br0">&#40;</span><span class="kw3">string</span>+<span class="st0">&#8216;<span class="es0">\n</span>&#8216;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="kw3">string</span>=<span class="st0">&#8221;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; FILE.<span class="me1">close</span><span class="br0">&#40;</span><span class="br0">&#41;</span></div>
</li>
</ol>
</div>
<ul class="related_post"></ul>]]></content:encoded>
			<wfw:commentRss>http://www.shibumidojo.org/index.php/2009/09/13/securing-your-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

