<?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>ไอเอินบล๊อก &#187; basic authen</title>
	<atom:link href="http://www.iearn.in.th/tag/basic-authen/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iearn.in.th</link>
	<description>Just Play and Just Knowledge</description>
	<lastBuildDate>Fri, 05 Aug 2011 15:10:12 +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>มาป้องกัน IndexOption ด้วยพาสเวิร์ดดีกว่า</title>
		<link>http://www.iearn.in.th/2009/08/18/%e0%b8%a1%e0%b8%b2%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-indexoption-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2%e0%b8%9e%e0%b8%b2%e0%b8%aa%e0%b9%80%e0%b8%a7%e0%b8%b4%e0%b8%a3/</link>
		<comments>http://www.iearn.in.th/2009/08/18/%e0%b8%a1%e0%b8%b2%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-indexoption-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2%e0%b8%9e%e0%b8%b2%e0%b8%aa%e0%b9%80%e0%b8%a7%e0%b8%b4%e0%b8%a3/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 07:26:25 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[apache htaccess]]></category>
		<category><![CDATA[basic authen]]></category>
		<category><![CDATA[htaccess authen]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=548</guid>
		<description><![CDATA[หลังจากที่ทำ IndexOption ด้วย htaccess แล้วเราอยากปกป้อง directory บางอันไหม หากต้องการทำตามนี้เลย ซึ่งการทำจะใช้งาน .htaccess เหมือนเดิมและจะเพิ่มในส่วนของ .htpasswd มาเพื่อใช้ในการเข้าสู่ระบบ วิธีการทำ 1. ไปยัง folder ที่ต้องการป้องกันด้วยรหัสผ่าน 2. สร้างไฟล์ .htaccess เพิ่ม code ต่อไปนี้ AuthType Basic AuthName "Yun Trade File Repositories" AuthUserFile ที่อยู่เต็ม #ex /home/nolifelover/public_html/.htpasswd Require valid-user 3. สร้างไฟล์ .htpasswd โดยใช้งาน http://www.htaccesstools.com/htpasswd-generator/ เข้ามาช่วยก็ไปใช้จากนั้นเอา output มาใส่ในไฟ์ .htpasswd ก็จะได้ระบบป้องกันไดเรกทอรี่นี้แล้ว เพิ่มเติม http://httpd.apache.org/docs/1.3/howto/auth.html http://www.htaccesstools.com/htpasswd-generator/ 18 views]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iearn.in.th/wp-content/uploads/2009/08/protect-folder.png"><img src="http://www.iearn.in.th/wp-content/uploads/2009/08/protect-folder-300x213.png" alt="protect-folder" title="protect-folder" width="300" height="213" class="aligncenter size-medium wp-image-549" /></a><br />
<br/><br />
หลังจากที่ทำ IndexOption ด้วย htaccess แล้วเราอยากปกป้อง directory บางอันไหม หากต้องการทำตามนี้เลย ซึ่งการทำจะใช้งาน .htaccess เหมือนเดิมและจะเพิ่มในส่วนของ .htpasswd มาเพื่อใช้ในการเข้าสู่ระบบ<br />
<span id="more-548"></span><br />
<strong>วิธีการทำ</strong><br />
1. ไปยัง folder ที่ต้องการป้องกันด้วยรหัสผ่าน<br />
2. สร้างไฟล์ .htaccess<br />
เพิ่ม code ต่อไปนี้<br />
<code>AuthType Basic<br />
AuthName "Yun Trade File Repositories"<br />
AuthUserFile ที่อยู่เต็ม #ex /home/nolifelover/public_html/.htpasswd<br />
Require valid-user</code></p>
<p>3. สร้างไฟล์ .htpasswd โดยใช้งาน http://www.htaccesstools.com/htpasswd-generator/ เข้ามาช่วยก็ไปใช้จากนั้นเอา output มาใส่ในไฟ์ .htpasswd ก็จะได้ระบบป้องกันไดเรกทอรี่นี้แล้ว</p>
<p>เพิ่มเติม</p>
<p>http://httpd.apache.org/docs/1.3/howto/auth.html</p>
<p>http://www.htaccesstools.com/htpasswd-generator/</p>

<p class="sayac_bilgi">18 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2009/08/18/%e0%b8%a1%e0%b8%b2%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-indexoption-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2%e0%b8%9e%e0%b8%b2%e0%b8%aa%e0%b9%80%e0%b8%a7%e0%b8%b4%e0%b8%a3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

