<?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>BraveNewCode Inc. &#187; Security</title>
	<atom:link href="http://www.bravenewcode.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bravenewcode.com</link>
	<description>You dream it up, we code it to life.</description>
	<lastBuildDate>Tue, 07 Feb 2012 20:00:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WPtouch: Recent Bogus Security Vulnerability Report</title>
		<link>http://www.bravenewcode.com/2011/10/wptouch-recent-bogus-security-vulnerability-report/</link>
		<comments>http://www.bravenewcode.com/2011/10/wptouch-recent-bogus-security-vulnerability-report/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 18:11:07 +0000</pubDate>
		<dc:creator>Dale Mugford</dc:creator>
				<category><![CDATA[BraveNewCode]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Press Release]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WPtouch]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.bravenewcode.com/?p=6314</guid>
		<description><![CDATA[We just wanted to post quickly and let everyone know that recently a supposed SQL injection vulnerability was found in WPtouch (the free version). This report is false. The vulnerability declared at packetstormsecurity.org and other security alert-type sites is impossible. There is no ajax.php file in the root of WPtouch, therefore this vulnerability is flat-out [...]]]></description>
			<content:encoded><![CDATA[<p>We just wanted to post quickly and let everyone know that recently a supposed SQL injection vulnerability was found in WPtouch (the free version). <strong>This report is false.</strong></p>
<p>The vulnerability declared at <a href="http://packetstormsecurity.org/files/106279/wpwptouch-sql.txt">packetstormsecurity.org</a> and other security alert-type sites is impossible.</p>
<p><strong>There is no ajax.php file in the root of WPtouch,</strong> <em>therefore this vulnerability is flat-out impossible.</em></p>
<p>We take WordPress security seriously at BraveNewCode, having  previously issued updates for security exploits in our plugins that we&#8217;ve found before they&#8217;re in the wild. </p>
<p>We know WPtouch is a popular plugin and one that can be targeted because of it&#8217;s popularity and wide install base. We work hard to ensure the safety of our plugins on your WordPress installations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2011/10/wptouch-recent-bogus-security-vulnerability-report/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Important Security Update: WPtouch 1.9</title>
		<link>http://www.bravenewcode.com/2011/06/important-security-update-wptouch-1-9/</link>
		<comments>http://www.bravenewcode.com/2011/06/important-security-update-wptouch-1-9/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 00:16:49 +0000</pubDate>
		<dc:creator>Duane Storey</dc:creator>
				<category><![CDATA[WPtouch]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.bravenewcode.com/?p=5435</guid>
		<description><![CDATA[Earlier today the WordPress team noticed suspicious commits in the WordPress.org plugin repository: WPtouch was affected, as were the AddThis and W3 Total Cache plugins. You can read more about it on WordPress.org. If you haven&#8217;t updated WPtouch in the last few days, then this issue will not have affected you. But we encourage anyone [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier today the WordPress team noticed suspicious commits in the WordPress.org plugin repository:   WPtouch was affected, as were the AddThis and W3 Total Cache plugins.  You can read more about it on <a href="http://wordpress.org/news/2011/06/passwords-reset/">WordPress.org</a>.</p>
<p>If you haven&#8217;t updated WPtouch in the last few days, then this issue will not have affected you.  But we encourage anyone that is running WPtouch version 1.9.27 or 1.9.28 to update to version 1.9.29 immediately.</p>
<p>We apologize to anyone affected by this issue, and thank the WordPress team for contacting us about it and working diligently today to remove any suspicious code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2011/06/important-security-update-wptouch-1-9/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>New Plugin: Integrity for WordPress</title>
		<link>http://www.bravenewcode.com/2009/10/new-plugin-integrity-for-wordpress/</link>
		<comments>http://www.bravenewcode.com/2009/10/new-plugin-integrity-for-wordpress/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 15:51:51 +0000</pubDate>
		<dc:creator>Dale Mugford</dc:creator>
				<category><![CDATA[BraveNewCode]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Integrity for WordPress]]></category>
		<category><![CDATA[Journal]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[Integrity]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.bravenewcode.com/?p=2155</guid>
		<description><![CDATA[There&#8217;s been a lot of hubbub lately regarding security and WordPress. You&#8217;ve probably read a few of the more popular articles about the matter, and likely heard some of the opinions from notable technology gurus. Some of the solutions to increase and maintain security for a WordPress installation are rather straightforward&#8212; others&#8230; not so much. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bravenewcode.com/wp-content/uploads//integrity-site.jpg" alt="integrity-site" title="integrity-site" width="450" height="213" class="aligncenter size-full wp-image-2229" /></p>
<p>There&#8217;s been a lot of hubbub lately regarding <a href="http://codex.wordpress.org/Hardening_WordPress">security</a> and WordPress. You&#8217;ve probably <a href="http://www.noupe.com/how-tos/wordpress-security-tips-and-hacks.html">read a few</a> of the <a href="http://www.interconnectit.com/679/a-common-sense-wordpress-security-primer/">more popular articles</a> about the matter, and likely heard some of the opinions from <a href="http://daringfireball.net/2009/09/regarding_wordpress_and_security">notable technology gurus</a>. Some of the solutions to increase and maintain security for a WordPress installation are rather straightforward&mdash; others&#8230; not so much. But they all don&#8217;t do anything after an attack or compromised WordPress installation has occurred. This is what <strong><em>Integrity</em> for WordPress</strong> seeks to change.</p>
<p>We&#8217;ve come up with a plugin that uses a variety of methods to detect <em>if WordPress has been modified in any way.</em> We&#8217;re calling this plugin <em>Integrity for WordPress</em>, and it&#8217;ll do just that: verify the integrity of a WordPress installation, including themes and plugins. If they are hacked selected e-mail addresses will be notified immediately about the change, told what file(s) were modified, and given some options to act against it.</p>
<p>But we&#8217;ll get more in-depth with what Integrity does a little later in the article. For now let&#8217;s look at existing solutions so we see what Integrity <em>isn&#8217;t</em>.</p>
<h3>A, B, U: Always Be Upgrading</h3>
<p>Matt Mullenweg, co-creator of WordPress <a href="http://wordpress.org/development/2009/09/keep-wordpress-secure/">himself recently recommended</a> and advocated that users are best protected by trusting WordPress&#8217; security, with a caveat that it&#8217;ll require WordPress users to be running <em>the latest release always.</em></p>
<p>This approach is indeed a valid one, and certainly for many users it&#8217;s easy enough to follow. It doesn&#8217;t ensure certain types of WordPress attacks or compromises don&#8217;t happen but it does protect against some of the more serious and dangerous ones. However, there are real-world use scenarios where ABU is next to immpossible, if not just impracticable.</p>
<p>We have several larger clients who on an hourly basis are monitoring their websites, making redundant backups, adding/changing content and so-on. If they&#8217;re going to do an upgrade they&#8217;re going to backup the entire ftp environment along with grabbing a database backup, and that costs time and money.</p>
<p>We also have clients who have an intimate theme/plugin scenario where an upgrade may possibly disrupt this. We work as hard as possible to future-proof our work but other plugin developers and the whole of WordPress itself can&#8217;t be quantifiably determined with regards to what will happen next and how it will happen.</p>
<p>So let&#8217;s assume there&#8217;s a pool of people for whom ABU isn&#8217;t viable.</p>
<h3>Permissions and Server Side Security</h3>
<p>We don&#8217;t profess to be gurus <a href="http://www.reaper-x.com/2007/09/01/hardening-wordpress-with-mod-rewrite-and-htaccess/">in these areas</a> ourselves, but their are some rudimentary precautions and steps you can take to add security to your self-hosted WordPress installation. They&#8217;re a very good idea but often require more than a freshman&#8217;s knowledge when it comes to applying them properly to your WordPress install. Setting the correct permissions requires knowledge of FTP programs and unix; modifying php.ini or similar requires at least some working knowledge of Apache and server environments. Every web host is also a little different in how they apply settings, what type of allowances/blocks they allow customers to control, and so on.</p>
<h3>User Accounts / Coding Practices</h3>
<p>Another way for WordPress to be compromised is through the admin account or by using certain types of PHP code in a WordPress theme. Once a hacker has access to an admin account they can do pretty much anything. If your theme contains easily compromised code it&#8217;s impossible for WordPress to protect, save for WordPress deciding not allow that code to be used at all which isn&#8217;t a very nice approach&mdash; potentially thousands of websites unknowingly running themes with these types of holes would be broken instantly upon a WordPress upgrade that disallowed such code.</p>
<h3>Existing Plugins</h3>
<p>Looking at the WordPress <a href="http://wordpress.org/extend/plugins/search.php?q=security">repository for security-related plugins</a> you&#8217;ll find a number which on the surface look to be helping the WordPress security scenario but ultimately fail to cover some of the most basic routines (such as checking WordPress and user files for changes) or scanning and repairing permissions on a WordPress install.</p>
<p>So there are indeed plugins out there, but most aim to cover one specific area of WordPress security and none actually prevent themselves from being compromised.</p>
<h3>Introducing Integrity for WordPress</h3>
<p>Integrity for WordPress does a couple things which are unique. First, it looks at your &#8216;WordPress Fingerprint&#8217; to determine what is a healthy environment for your WordPress install. It&#8217;ll make some recommendations for you and provide some one-click options to beef-up your WordPress security if you choose, but you don&#8217;t have to if you don&#8217;t want to, and Integrity will still help you if you have a security issue. </p>
<p>There are occasions and circumstances where file and folder permissions may be loosened intentionally, and we think it&#8217;s unrealistic to expect all users to remain vigilant on security fronts such as permissions&mdash; it&#8217;s simply not going to happen because it never has happened, even when their were/are very good reasons for this to be so. Maybe you get an error trying to do something because a particular plugin requests permissions to be changed so you do so. Maybe you have some custom code which needs a more lazy chair environment to run. Regardless whether it&#8217;s as a result of sloppy or incorrect code <em>Integrity</em> seeks to add protection and detect issues on your WordPress install.</p>
<p>One of the more common forms of attack on WordPress (and many other kinds of) websites is a Cross-site scripting (XSS) attack. The exploit is pretty simple and in many cases it&#8217;s not about compromising your WordPress installation but instead adding chunks of code which represent malware, advertisements or other malicious activity.</p>
<p>The attack isn&#8217;t geared to destroy or disable your WordPress environment, but rather to add the code without being detected. In the case of an XSS attack, Integrity would detect this issue and assist you in resolving it.</p>
<p>Last but not least we&#8217;re building a method for the <strong>integrity of <em>Integrity</em> itself</strong> to be verified. Any security plugin faces this pink elephant in the room issue: No matter how strong a security plugin tries to be in preventing security issues with WordPress if it itself is compromised it&#8217;s all over. That&#8217;s why we&#8217;re working hard to develop a method for <em>Integrity</em> to check against itself to see whether it&#8217;s genuine and unmodified.</p>
<p>We&#8217;ll be posting more in the coming days/weeks ahead as we push for a public beta launch of <a href="http://www.bravenewcode.com/integrity/"><strong><em>Integrity</em> for WordPress</strong></a>, so stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2009/10/new-plugin-integrity-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Not So Secret: Most Common Passwords</title>
		<link>http://www.bravenewcode.com/2009/04/not-so-secret-most-common-passwords/</link>
		<comments>http://www.bravenewcode.com/2009/04/not-so-secret-most-common-passwords/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 20:02:44 +0000</pubDate>
		<dc:creator>Dale Mugford</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.bravenewcode.com/?p=1471</guid>
		<description><![CDATA[Most Common Passwords. A great article explaining why your password probably sucks (in terms of security) and what you can do about it.]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.jimmyr.com/Most_Common_Passwords_20_2008.php">Most Common Passwords</a>. A great article explaining why your password probably sucks (in terms of security) and what you can do about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2009/04/not-so-secret-most-common-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coming Soon: WPtouch 1.8 &amp; Upgrade Proof Icons!</title>
		<link>http://www.bravenewcode.com/2009/02/coming-soon-wptouch-18-upgrade-proof-icons/</link>
		<comments>http://www.bravenewcode.com/2009/02/coming-soon-wptouch-18-upgrade-proof-icons/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 20:09:02 +0000</pubDate>
		<dc:creator>Dale Mugford</dc:creator>
				<category><![CDATA[BraveNewCode]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[WPtouch]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[iPodtouch]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://www.bravenewcode.com/?p=1101</guid>
		<description><![CDATA[We&#8217;ve heard from you: each upgrade of WPtouch is painful, we know- you add your custom icons, get everything all set up&#8230; only to have to re-add and re-add them over and over again with each successive upgrade of WPtouch. The way WordPress upgrades plugins is out of our control- so when you upgrade through [...]]]></description>
			<content:encoded><![CDATA[<p><img style="padding-left:15px;padding-bottom:25px" src="http://www.bravenewcode.com/wp-content/uploads//picture-102.png" alt="picture-102" title="picture-102" width="263" height="222" class="alignright size-full wp-image-1102" />We&#8217;ve heard from you: each upgrade of <a href="http://www.bravenewcode.com/wptouch/">WPtouch</a> is <em>painful</em>, we know- you add your custom icons, get everything all set up&#8230; only to have to <em>re-add and re-add them over and over again with each successive upgrade</em> of WPtouch. </p>
<p>The way <a href="http://www.wordpress.org/">WordPress</a> upgrades plugins is out of our control- so when you upgrade through the admin each time a plugin is moved out of the plugin folder, and the new one unzipped into it while the old is deleted. </p>
<p>What we can control is the creation of a folder for WPtouch in the WordPress uploads folder, which won&#8217;t be touched by WordPress, even when you upgrade WordPress itself.</p>
<p>With WPtouch 1.8 you&#8217;ll be able to upload your custom icons (securely) and select &#038; activate them- and even delete them! And each time we release a new update you&#8217;ll never have to worry about your custom icons disappearing again.</p>
<p>We&#8217;ve also worked on hardening WPtouch a little and fixing some more bugs, so we think it&#8217;s a great update for everyone.</p>
<p>Look for it soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2009/02/coming-soon-wptouch-18-upgrade-proof-icons/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BraveNewHacked</title>
		<link>http://www.bravenewcode.com/2009/01/bravenewhack/</link>
		<comments>http://www.bravenewcode.com/2009/01/bravenewhack/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 17:19:53 +0000</pubDate>
		<dc:creator>Dale Mugford</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[bluehost]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[media temple]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.bravenewcode.com/2009/01/02/bravenewhack/</guid>
		<description><![CDATA[Just before the New Year we fell victim to a malware attack, which targeted our webhost and compromised our account security. Though it&#8217;s a reality that no form of hosting is 100% secure, we&#8217;ve decided to move from Bluehost over to the more established Media Temple, a host which we&#8217;ve taken issue with in the [...]]]></description>
			<content:encoded><![CDATA[<p>Just before the New Year we fell victim to a malware attack, which targeted our webhost and compromised our account security. Though it&#8217;s a reality that no form of hosting is 100% secure, we&#8217;ve decided to move from <a href="http://www.bluehost.com/">Bluehost</a> over to the more established <a href="http://www.mediatemple.net/">Media Temple</a>, a host which we&#8217;ve taken issue with in the past but offers more of the types of hosting features we need, anyways (including more security).</p>
<p>In the coming days we&#8217;ll be offering up for our readers a couple tips on securing your WordPress install, to make sure that the &#8216;front end&#8217; types of attacks are prevented. In this case there was precious little we could do but restore our files, and that was troubling enough, as we moved gigabytes worth of data between servers.</p>
<p>All of this brings rise to the number one thing you can do to ensure that things are always safe online with your websites? <em>Backup!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2009/01/bravenewhack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can I Have Your Apple ID?</title>
		<link>http://www.bravenewcode.com/2008/07/can-i-have-your-apple-id/</link>
		<comments>http://www.bravenewcode.com/2008/07/can-i-have-your-apple-id/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 20:59:19 +0000</pubDate>
		<dc:creator>Dale Mugford</dc:creator>
				<category><![CDATA[Apple & All Things Mac]]></category>
		<category><![CDATA[Asides]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[apple id]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.bravenewcode.com/?p=206</guid>
		<description><![CDATA[Apple needs a punch in the gut for this security breach]]></description>
			<content:encoded><![CDATA[<p>Apple needs a punch in the gut for <a href="http://blog.karppinen.fi/2008/07/apple-just-gave-out-my-apple-i.html">this security breach</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2008/07/can-i-have-your-apple-id/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Block External Suckage Of Your Images, Prying Eyes</title>
		<link>http://www.bravenewcode.com/2008/05/block-external-suckage-of-your-images-prying-eyes/</link>
		<comments>http://www.bravenewcode.com/2008/05/block-external-suckage-of-your-images-prying-eyes/#comments</comments>
		<pubDate>Tue, 06 May 2008 22:56:10 +0000</pubDate>
		<dc:creator>Dale Mugford</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[images videos]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.bravenewcode.com/?p=126</guid>
		<description><![CDATA[Holy server resources and bandwidth suckage Batman! Seriously- hot-linking to your images and media files from search engines and other sites can be a good thing- but also a very bad thing, depending on what it is that being hot-linked and whether or not you want there to be external linking to your file(s). In [...]]]></description>
			<content:encoded><![CDATA[<p>Holy server resources and bandwidth suckage Batman! Seriously- hot-linking to your images and media files from search engines and other sites <em>can</em> be a good thing- but also <strong>a very bad thing</strong>, depending on what it is that being hot-linked and whether or not you want there to be external linking to your file(s).</p>
<p>In the best case scenario, it drives traffic to your site and helps advertise for you, freely. In the worst case scenario you piss off your webhost and in turn have outages.<br />
<span id="more-126"></span></p>
<div class="spacer"></div>
<h3>NOT AN ISSUE</h3>
<p>Case in point: BraveNewCode. We <em>want</em> people to link to our downloads, our images, and so on. It&#8217;s good advertising for us, and our web setup is such that it won&#8217;t really become a problem for us, for now anyways.</p>
<div class="spacer"></div>
<h3>TOTALLY AN ISSUE</h3>
<p>Case in point: <a href="http://www.matthewgood.org">matthewgood.org</a>. For Matt&#8217;s site, this is a big problem, especially when you consider 404 errors pointed at non-existent files sucking up bandwidth. </p>
<p>Matt gets a lot of traffic- he&#8217;s been a top blog in Canada for years and years- and as such there are links to his site and content that stretch way back. He&#8217;s also well indexed by all search engines, and that means that every image &#038; video sitting in a directory on the server needs to be controlled in terms of external access- otherwise he&#8217;d be well over the monthly server resource limits allocated to him by Media Temple and his modest shared-server grid plan.</p>
<p>In order to control just who has access to what files, we&#8217;ve implemented an .htaccess rule for certain folders which restricts the ability for external sites to index, view, and link to them successfully.</p>
<p>The rule looks like this, inside each .htaccess file in each folder you want to restrict access to:</p>
<p><code><br />
RewriteEngine on<br />
RewriteCond %{HTTP_REFERER} !^$<br />
RewriteCond %{HTTP_REFERER} !^http://(www\.)?bravenewcode.com [NC]<br />
RewriteRule \.(png|gif|jpeg|jpg|tiff|psd|flv|mpg|mpeg|mp3)$ - [NC,F]<br />
</code></p>
<div class="spacer"></div>
<p>The first line here turns on mod_rewrite on your server once per .htaccess file.</p>
<p>The next line is needed to allow proxy caches. If you take it out, then anyone <em>without a referer</em> won?t be able to view your site. Many proxy caches, for instance, block referers? <strong>and that looks the same as a directly-entered URL.</strong></p>
<p>The third tells the .htaccess file where to allow image files to be served from &#8211; in this case it will allow images be served from <em>http://bravenewcode.com</em> and <em>http://www.bravenewcode.com</em> (remember to update this for your own domain!).</p>
<p>The final line is case insensitive (the NC) and instructs the .htaccess file what file types to restrict the serving of. The F in the square brackets forces the current URL to be forbidden.</p>
<div class="spacer"></div>
<h3>PEEPING BROWSERS</h3>
<p>Lastly, if you want to ensure that someone can&#8217;t browse a directory just by entering it as a URL in a browser (visit <a href="http://www.bravenewcode.com/example/">http://www.bravenewcode.com/example/</a> to see what we mean), you can add this bit of code to the bottom of your .htaccess files to ensure folks can&#8217;t peep your naked goods:</p>
<p><code><br />
&lt;Files .htaccess&gt;<br />
order allow,deny<br />
deny from all<br />
&lt;/Files&gt;<br />
</code></p>
<p>Another option if your server is set up so that it allows overrides is to add this line to your .htaccess file:</p>
<p><code><br />
Options -Indexes<br />
</code></p>
<p>That instructs your webserver not to allow directory-style listings in that directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2008/05/block-external-suckage-of-your-images-prying-eyes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

