<?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>King of the Potato People &#187; security</title>
	<atom:link href="http://www.potato-people.com/blog/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.potato-people.com/blog</link>
	<description>Code, photos and ramblings of Rick Hodger</description>
	<lastBuildDate>Fri, 27 Aug 2010 09:56:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Making your webserver a little bit more secure.</title>
		<link>http://www.potato-people.com/blog/2008/04/making-your-webserver-a-little-bit-more-secure/</link>
		<comments>http://www.potato-people.com/blog/2008/04/making-your-webserver-a-little-bit-more-secure/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 09:39:14 +0000</pubDate>
		<dc:creator>rick</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[loopback]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.potato-people.com/blog/?p=3</guid>
		<description><![CDATA[The most common attack vector on Linux web servers, is to get something uploaded onto the server that can then be executed. Most of these automated attacks try to put their payload into /tmp, which is universally writable by any user, and then execute it. But what if they couldn&#8217;t execute it? This is an [...]]]></description>
			<content:encoded><![CDATA[<p>The most common attack vector on Linux web servers, is to get something uploaded onto the server that can then be executed. Most of these automated attacks try to put their payload into /tmp, which is universally writable by any user, and then execute it.</p>
<p>But what if they couldn&#8217;t execute it?</p>
<p><span id="more-3"></span></p>
<p>This is an easy way to beef up your webserver server security a little. Create a 1GB partition on your system, and in your fstab file, add a &#8220;noexec flag&#8221; like so:</p>
<p><code>/dev/sda3 /tmp ext3 acl,user_xattr,<strong>noexec</strong> 1 1</code></p>
<p>Now, the system will prevent any executable in /tmp from being executed and thus sealing off the most common flaw that allows for most automated attacks to work.</p>
<p>No unallocated space on your disk and don&#8217;t want to risk resizing? Use a <a href="http://www.faqs.org/docs/Linux-mini/Loopback-Root-FS.html" target="_blank">loopback filesystem</a>.</p>
<p><code>/dev/loop0 /tmp ext3 acl,user_xattr,<strong>noexec</strong> 1 1</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.potato-people.com/blog/2008/04/making-your-webserver-a-little-bit-more-secure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
