<?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>Howtos &#187; limit access</title>
	<atom:link href="http://howto.isgoodness.com/tag/limit-access/feed/" rel="self" type="application/rss+xml" />
	<link>http://howto.isgoodness.com</link>
	<description>Stuffs that are worth to mention and worth to know</description>
	<lastBuildDate>Sun, 27 Feb 2011 16:19:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Limit access with firewall ufw</title>
		<link>http://howto.isgoodness.com/2010/02/limit-access-with-firewall-ufw/</link>
		<comments>http://howto.isgoodness.com/2010/02/limit-access-with-firewall-ufw/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 08:35:24 +0000</pubDate>
		<dc:creator>Van Nhu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[limit access]]></category>
		<category><![CDATA[ufw]]></category>

		<guid isPermaLink="false">http://howto.isgoodness.com/?p=408</guid>
		<description><![CDATA[Here is some links on how you can reject requests using firewall ufw. http://manpages.ubuntu.com/manpages/jaunty/en/man8/ufw.8.html http://www.ubuntu-unleashed.com/2008/05/howto-take-use-setup-and-advantage-of.html]]></description>
			<content:encoded><![CDATA[<p>Here is some links on how you can reject requests using firewall ufw.</p>
<p>http://manpages.ubuntu.com/manpages/jaunty/en/man8/ufw.8.html</p>
<p>http://www.ubuntu-unleashed.com/2008/05/howto-take-use-setup-and-advantage-of.html</p>
]]></content:encoded>
			<wfw:commentRss>http://howto.isgoodness.com/2010/02/limit-access-with-firewall-ufw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limit http methods</title>
		<link>http://howto.isgoodness.com/2009/12/limit-http-methods/</link>
		<comments>http://howto.isgoodness.com/2009/12/limit-http-methods/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 21:50:46 +0000</pubDate>
		<dc:creator>Van Nhu</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[http methods]]></category>
		<category><![CDATA[limit access]]></category>

		<guid isPermaLink="false">http://howto.isgoodness.com/?p=398</guid>
		<description><![CDATA[I you have an apache server which you only use GET and POST methods I think it is better that you limit the access. Since there are many methods it is more convinient to use the opposite functions, limitExcept. Bellow is an example how it would look like. The limitExcept directive allows only GET and [...]]]></description>
			<content:encoded><![CDATA[<p>I you have an apache server which you only use GET and POST methods I think it is better that you <a href="http://httpd.apache.org/docs/2.0/mod/core.html#limit" target="_blank">limit</a> the access. Since there are many methods it is more convinient to use the opposite functions, <a href="http://httpd.apache.org/docs/2.0/mod/core.html#limitexcept" target="_blank">limitExcept</a>. Bellow is an example how it would look like. The limitExcept directive allows only GET and POST. All other request methods will be rejected.</p>

<div class="wp_syntax"><div class="code"><pre class="init" style="font-family:monospace;">NameVirtualHost xxx.xxx.xxx:80
&lt;VirtualHost xxx.xxx.xxx:80&gt;
        ServerName example.com
&nbsp;
        DocumentRoot /path/to/doc/root
        &lt;Directory /path/to/doc/root/&gt;
                &lt;LimitExcept POST GET&gt;
                         Require valid-user
                &lt;/LimitExcept&gt; 
                Options Indexes MultiViews FollowSymLinks
                Order Allow,Deny
                Allow from all
        &lt;/Directory&gt;
...
&lt;/VirtualHost&gt;</pre></div></div>

<p>If you want to deny from the access you can use &#8220;Deny from all&#8221; instead of &#8220;Require valid-user&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://howto.isgoodness.com/2009/12/limit-http-methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

