<?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>Webmaster Sucks &#187; uploaded file security</title>
	<atom:link href="http://www.webmastersucks.com/tags/uploaded-file-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webmastersucks.com</link>
	<description>Here I share stuff I used to suck at as a novice webmaster..</description>
	<lastBuildDate>Mon, 13 Jun 2011 06:39:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Image Directory Security with htaccess</title>
		<link>http://www.webmastersucks.com/image-directory-security-with-htaccess/</link>
		<comments>http://www.webmastersucks.com/image-directory-security-with-htaccess/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 16:14:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[close cgi]]></category>
		<category><![CDATA[close execution]]></category>
		<category><![CDATA[directory forbidden]]></category>
		<category><![CDATA[forbidden cgi]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[image directory]]></category>
		<category><![CDATA[image directory security]]></category>
		<category><![CDATA[uploaded file security]]></category>

		<guid isPermaLink="false">http://www.webmastersucks.com/?p=179</guid>
		<description><![CDATA[
			
				
			
		
Some hackers or attackers try to upload script files in image upload files and they can see and change your files with that script. You can block this type file in that directories. You can forbidden type of files and close execution of CGI.
.htaccess


# secure directory by disabling script execution
AddHandler cgi-script .php .pl .py .jsp [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webmastersucks.com%2Fimage-directory-security-with-htaccess%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webmastersucks.com%2Fimage-directory-security-with-htaccess%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignright size-full wp-image-180" title="Image Directory" src="http://www.webmastersucks.com/uploads/image-directory.jpg" alt="Image Directory" width="80" height="100" />Some hackers or attackers try to upload script files in image upload files and they can see and change your files with that script. You can block this type file in that directories. You can forbidden type of files and close execution of CGI.</p>
<p><strong>.htaccess<br />
</strong></p>
<pre class="brush: plain; title: ;">
# secure directory by disabling script execution
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi .aspx
Options -ExecCGI
</pre>
<p>From: <a href="http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/#sec16">http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/#sec16</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersucks.com/image-directory-security-with-htaccess/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

