<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Loading files from the outside of htdocs / Forcing download</title>
	<atom:link href="http://www.betriebsraum.de/blog/2005/10/19/loading-files-from-the-outside-of-htdocs-and-forcing-download/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.betriebsraum.de/blog/2005/10/19/loading-files-from-the-outside-of-htdocs-and-forcing-download/</link>
	<description>Rich Internet Applications, Software Development, Human-Computer Interaction</description>
	<lastBuildDate>Tue, 15 Nov 2011 08:03:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: christoph</title>
		<link>http://www.betriebsraum.de/blog/2005/10/19/loading-files-from-the-outside-of-htdocs-and-forcing-download/comment-page-1/#comment-20</link>
		<dc:creator>christoph</dc:creator>
		<pubDate>Wed, 19 Oct 2005 13:40:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2005/10/19/loading-files-from-the-outside-of-htdocs-and-forcing-download/#comment-20</guid>
		<description>You are right but this was just a simple example. In an application where files must be protected, you would have to check the permisson  first.
A more &quot;polished&quot; version can be found at &lt;a href=&quot;http://www.zend.com/zend/trick/tricks-august-2001.php&quot;&gt;Zend.com&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>You are right but this was just a simple example. In an application where files must be protected, you would have to check the permisson  first.<br />
A more &#8220;polished&#8221; version can be found at <a href="http://www.zend.com/zend/trick/tricks-august-2001.php">Zend.com</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://www.betriebsraum.de/blog/2005/10/19/loading-files-from-the-outside-of-htdocs-and-forcing-download/comment-page-1/#comment-19</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Wed, 19 Oct 2005 12:46:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2005/10/19/loading-files-from-the-outside-of-htdocs-and-forcing-download/#comment-19</guid>
		<description>&lt;em&gt;for example if you donâ€™t want unauthorized users to download your files by entering the url into the browser directly&lt;/em&gt;

Of course, it should be made clear that users could still acess the file using the &quot;readFile.php?filename=myFile.swf&quot; URL. Also note the path to the file shouldn&#039;t be input from the URL, just a reference to which one is taken -- otherwise you&#039;re opening yourself up for a vast array of attacks involving unauthorized access to files in your web server.

The technique is still valid, just needs a bit polish, IMHO.

Cheers!</description>
		<content:encoded><![CDATA[<p><em>for example if you donâ€™t want unauthorized users to download your files by entering the url into the browser directly</em></p>
<p>Of course, it should be made clear that users could still acess the file using the &#8220;readFile.php?filename=myFile.swf&#8221; URL. Also note the path to the file shouldn&#8217;t be input from the URL, just a reference to which one is taken &#8212; otherwise you&#8217;re opening yourself up for a vast array of attacks involving unauthorized access to files in your web server.</p>
<p>The technique is still valid, just needs a bit polish, IMHO.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

