<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Programming Ideas, Logics, Tips and Tricks &#187; password</title>
	<atom:link href="http://www.sajithmr.me/tag/password/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sajithmr.me</link>
	<description></description>
	<lastBuildDate>Sat, 07 Apr 2012 16:30:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>HTTP authentication from PHP</title>
		<link>http://www.sajithmr.me/http-authentication-from-php</link>
		<comments>http://www.sajithmr.me/http-authentication-from-php#comments</comments>
		<pubDate>Thu, 06 May 2010 10:01:29 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[control panel]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[http protocol]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[php header]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[restrict]]></category>
		<category><![CDATA[username]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=647</guid>
		<description><![CDATA[Do you know you can implement http authentication using php code? HTTP authentications are those you see when  you open control panel or administrative backend website, prompting for username and password in html  authentication prompt. This can be done in php using following code: &#60;?php if (!isset($_SERVER['PHP_AUTH_USER'])) { header(&#8216;WWW-Authenticate: Basic realm=&#8221;My Realm&#8221;&#8216;); header(&#8216;HTTP/1.0 401 Unauthorized&#8217;); [...]]]></description>
			<content:encoded><![CDATA[<p>Do you know you can implement http authentication using php code? HTTP authentications are those you see when  you open control panel or administrative backend website, prompting for username and password in html  authentication prompt.</p>
<p><img class="alignnone size-full wp-image-648" title="auth" src="http://www.sajithmr.me/wp-content/uploads/2010/05/auth.png" alt="auth" width="443" height="248" /></p>
<p>This can be done in php using following code:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">&lt;?php</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="color: #bf2e9d;">if</span> (!<span style="color: #bf2e9d;">isset</span>($_SERVER[<span style="font: 11.0px Menlo; color: #2832cf;">'PHP_AUTH_USER'</span>])) {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf;"><span style="font: 12.0px Menlo; color: #000000;"> header(</span>&#8216;WWW-Authenticate: Basic realm=&#8221;My Realm&#8221;&#8216;<span style="font: 12.0px Menlo; color: #000000;">);</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf;"><span style="font: 12.0px Menlo; color: #000000;"> header(</span>&#8216;HTTP/1.0 401 Unauthorized&#8217;<span style="font: 12.0px Menlo; color: #000000;">);</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf;"><span style="font: 12.0px Menlo; color: #000000;"> </span><span style="font: 12.0px Menlo; color: #bf2e9d;">echo</span><span style="font: 12.0px Menlo; color: #000000;"> </span>&#8216;Text to send if user hits Cancel button&#8217;<span style="font: 12.0px Menlo; color: #000000;">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="color: #bf2e9d;">exit</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">} <span style="color: #bf2e9d;">else</span> {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d62b24;"><span style="font: 12.0px Menlo; color: #000000;"> </span><span style="font: 12.0px Menlo; color: #bf2e9d;">echo</span><span style="font: 12.0px Menlo; color: #000000;"> </span>&#8220;&lt;p&gt;Hello {$_SERVER['PHP_AUTH_USER']}.&lt;/p&gt;&#8221;<span style="font: 12.0px Menlo; color: #000000;">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d62b24;"><span style="font: 12.0px Menlo; color: #000000;"> </span><span style="font: 12.0px Menlo; color: #bf2e9d;">echo</span><span style="font: 12.0px Menlo; color: #000000;"> </span>&#8220;&lt;p&gt;You entered {$_SERVER['PHP_AUTH_PW']} as your password.&lt;/p&gt;&#8221;<span style="font: 12.0px Menlo; color: #000000;">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">}</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">?&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">Source: <a href="http://php.net/manual/en/features.http-auth.php" target="_blank">http://php.net/manual/en/features.http-auth.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/http-authentication-from-php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to reset mysql root password (Windows)</title>
		<link>http://www.sajithmr.me/how-to-reset-mysql-root-password-windows</link>
		<comments>http://www.sajithmr.me/how-to-reset-mysql-root-password-windows#comments</comments>
		<pubDate>Tue, 02 Mar 2010 23:39:49 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[execute]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[password reset]]></category>
		<category><![CDATA[reset]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=600</guid>
		<description><![CDATA[Of course, it is not my post. But I wrote it here for a back up for myself. I got this from some website, it works ! Steps1) Stop running Mysql service  first (Administrative tools &#62; Services ) Open command prompt (cmd) and reach the directory  (using CD command) where Mysql bin  is installed (eg: [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-602" title="Logo-mysql" src="http://www.sajithmr.me/wp-content/uploads/2010/03/Logo-mysql1.jpg" alt="Logo-mysql" width="399" height="291" /></p>
<p>Of course, it is not my post. But I wrote it here for a back up for myself. I got this from some website, it works !</p>
<p>Steps1)</p>
<ol>
<li>Stop running Mysql service  first (Administrative tools &gt; Services )</li>
<li>Open command prompt (cmd) and reach the directory  (using CD command) where Mysql bin  is installed (eg: C:/Program Files/Mysql/bin)</li>
<li>type <strong>mysqld.exe -u root &#8211;skip-grant-tables</strong> and press enter (don&#8217;t close this command prompt)</li>
<li>Open new command prompt and reach the same  Mysql bin directory</li>
<li>type <strong>mysql</strong> and press enter (This time, it never prompts for any passwords and you can enter mysql console)</li>
<li>type command <strong>use mysql </strong>to switch your database into mysql</li>
<li>Execute the usual command to change password for root<strong>UPDATE user SET Password = PASSWORD(&#8216;your_new_password&#8217;) WHERE User = &#8216;root&#8217;</strong>;</li>
<li>Close the command prompts and go to services , start mysql. Now you can login with your new root password</li>
</ol>
<p>Thanks and have a nice day<br />
Sajith</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/how-to-reset-mysql-root-password-windows/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Save your passwords and secured files using TrueCrypt</title>
		<link>http://www.sajithmr.me/save-your-passwords-and-secured-files-using-truecrypt</link>
		<comments>http://www.sajithmr.me/save-your-passwords-and-secured-files-using-truecrypt#comments</comments>
		<pubDate>Thu, 19 Mar 2009 21:35:14 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[google document]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[save]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[truecrypt]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/?p=393</guid>
		<description><![CDATA[Hello programmer, If you are a programmer, you  might experience on saving your different ftp , email , website credintals (usernames and passwords) . Someone uses google documents for saving passwords. Some use email itself as a password storing medium. To be more secured, you have to save your passwords in you local machine rather [...]]]></description>
			<content:encoded><![CDATA[<p>Hello programmer,</p>
<p>If you are a programmer, you  might experience on saving your different ftp , email , website credintals (usernames and passwords) . Someone uses google documents for saving passwords. Some use email itself as a password storing medium. To be more secured, you have to save your passwords in you local machine rather than putting them into any other 3rd party online medium.</p>
<p><a href="http://www.sajithmr.com/wp-content/uploads/2009/03/children.jpg"><img class="alignnone size-full wp-image-394" title="children" src="http://www.sajithmr.com/wp-content/uploads/2009/03/children.jpg" alt="" width="423" height="284" /></a></p>
<p><a title="TrueCrypt" href="http://www.truecrypt.org/" target="_blank">Truecrypt</a> is an open source software for saving secured data (Folders and files). It is available for most of the operating systems (Windows, Linux, Mac etc). The advantage of TrueCrypt is, it creates a seperate partition or storage device as a normal USB memory stick. When you mount the partition it asks for a secured password. You can save your personal and secret files inside this partition. You can creates more than on partition using this software. So you can seperate your data files if you needed.</p>
<p>Here is the website url: <a href="http://www.truecrypt.org/">http://www.truecrypt.org/</a></p>
<p>It also provides two level security. It adds a hidden file inside another secured file, so that when an adversary forces you to reveal your password, or forces you to open the secured folder, there is no chance for them to view the hidden encrypted file.</p>
<p>For more details visit:</p>
<p><a href="http://www.truecrypt.org/hiddenvolume.php" target="_blank">http://www.truecrypt.org/hiddenvolume.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/save-your-passwords-and-secured-files-using-truecrypt/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Contact Grabber</title>
		<link>http://www.sajithmr.me/contact-grabber</link>
		<comments>http://www.sajithmr.me/contact-grabber#comments</comments>
		<pubDate>Thu, 06 Nov 2008 10:55:51 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php source code]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[AOL]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[contact]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[fetch]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[grab]]></category>
		<category><![CDATA[grabber]]></category>
		<category><![CDATA[Hotmail]]></category>
		<category><![CDATA[Indiatimes]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[lycos]]></category>
		<category><![CDATA[MySpace]]></category>
		<category><![CDATA[orkut]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Rediff]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/?p=353</guid>
		<description><![CDATA[If you are a social media website developer , sometimes you might search for grabbing contacts from a particular email account if the password is given. I also did the same.  In most of the cases it did not work properly. But recently i got a contact grabber from phpclasses.org which works perfectly on Gmail, [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a social media website developer , sometimes you might search for grabbing contacts from a particular email account if the password is given. I also did the same.  In most of the cases it did not work properly. But recently i got a contact grabber from <a href="http://www.phpclasses.org" target="_blank">phpclasses.org</a> which works perfectly on <strong>Gmail</strong>, <strong>Hotmail</strong>, <strong>Rediff</strong>, <strong>Yahoo</strong>, <strong>Orkut</strong>, <strong>MySpace</strong>, <strong>Indiatimes</strong>, <strong>Linkedin</strong> , <strong>AOL</strong> and <strong>lycos</strong></p>
<div id="attachment_355" class="wp-caption alignnone" style="width: 371px"><a href="http://www.sajithmr.com/wp-content/uploads/2008/11/grabber.jpg"><img class="size-full wp-image-355" title="Contact Grabber " src="http://www.sajithmr.com/wp-content/uploads/2008/11/grabber.jpg" alt="screen shot" width="361" height="225" /></a><p class="wp-caption-text">screen shot</p></div>
<p>But the zip file i got is not well arranged, so it shows some errors . I arranged it in proper way and uploaded here:</p>
<p><span style="text-decoration: underline;">Download:</span></p>
<p><a href="http://sajithmr.com/downloads/grabber.zip" target="_self"><img class="alignnone size-thumbnail wp-image-354" title="winzip_180x180" src="http://www.sajithmr.com/wp-content/uploads/2008/11/winzip_180x180-150x150.gif" alt="" width="98" height="98" /></a></p>
<p><a title="Contact Grabber" href="http://sajithmr.com/downloads/grabber.zip" target="_self">http://sajithmr.com/downloads/grabber.zip</a></p>
<p><span style="color: #808080;"><em>(Under GNU Public License)</em></span></p>
<p>Using this <strong>php code</strong> , you can <strong>export the email contacts</strong> as csv file.</p>
<p>Here is the actual source website : <a href="http://www.phpclasses.org/browse/package/3895.html" target="_blank">http://www.phpclasses.org/browse/package/3895.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/contact-grabber/feed</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
	</channel>
</rss>

