<?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"
	>
<channel>
	<title>Comments on: Prevent Direct Access of Files With PHP</title>
	<atom:link href="http://www.blog.ofitall.com/development/prevent-direct-access-of-files-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.ofitall.com/development/prevent-direct-access-of-files-with-php/</link>
	<description>Journal</description>
	<pubDate>Sun, 05 Feb 2012 14:32:24 +0000</pubDate>
	
		<item>
		<title>By: Ryan</title>
		<link>http://www.blog.ofitall.com/development/prevent-direct-access-of-files-with-php/#comment-2765</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 23 Jan 2008 13:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.ofitall.com/blog/archives/40#comment-2765</guid>
		<description>I was looking for a script to secure files on my website, and I only wanted logged in users to be able to download the file. This worked perfect. It blocked direct access of the files and I could put my code in there to check if the user was logged in. Thanks for this!

ps at first I couldn't figure out why you had the list of files in an array, and why not pass the file name in the url, but I see this is more secure this way.

works great, so thanks!

-R</description>
		<content:encoded><![CDATA[<p>I was looking for a script to secure files on my website, and I only wanted logged in users to be able to download the file. This worked perfect. It blocked direct access of the files and I could put my code in there to check if the user was logged in. Thanks for this!</p>
<p>ps at first I couldn&#8217;t figure out why you had the list of files in an array, and why not pass the file name in the url, but I see this is more secure this way.</p>
<p>works great, so thanks!</p>
<p>-R</p>
]]></content:encoded>
	</item>
</channel>
</rss>

