<?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>Monolith Development</title>
	<atom:link href="http://monolithdev.us/feed/" rel="self" type="application/rss+xml" />
	<link>http://monolithdev.us</link>
	<description>&#60;&#63; &#47;&#47; I build stuff. &#63;&#62;</description>
	<lastBuildDate>Mon, 23 Aug 2010 22:51:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Name changing entitlement?</title>
		<link>http://monolithdev.us/name-changing-entitlement/</link>
		<comments>http://monolithdev.us/name-changing-entitlement/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 22:51:41 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[Random Thoughts]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=402</guid>
		<description><![CDATA[Originally when I read this I was going to title this, Google&#8217;s CEO is a d-bag.

Original


Eric Schmidt suggested that young people should be entitled to change their identity to escape their misspent youth, which is now recorded in excruciating detail on social networking sites such as Facebook.

Cause god forbid there are actually consequences for being [...]]]></description>
			<content:encoded><![CDATA[<p>Originally when I read this I was going to title this, <em>Google&#8217;s CEO is a d-bag.</em></p>
<p><cite><br />
<a href="http://www.telegraph.co.uk/technology/google/7951269/Young-will-have-to-change-names-to-escape-cyber-past-warns-Googles-Eric-Schmidt.html" target="_blank" />Original</a><br />
</cite></p>
<blockquote><p>
Eric Schmidt suggested that young people should be entitled to change their identity to escape their misspent youth, which is now recorded in excruciating detail on social networking sites such as Facebook.
</p></blockquote>
<p>Cause god forbid there are actually consequences for being a dumb ass. Not to mention I think the youth of today has a little too much <em>entitlement</em>. Maybe if enough youth and adults alike fail miserably with social networking they might actually learn something for themselves. </p>
<p>Kind of mixed message from <a href="http://www.huffingtonpost.com/2009/12/07/google-ceo-on-privacy-if_n_383105.html" target="_blank">this article</a>. </p>
<blockquote><p>
If you have something that you don&#8217;t want anyone to know, maybe you shouldn&#8217;t be doing it in the first place.
</p></blockquote>
<p><em>Bet you didn&#8217;t expect to see a Huffington Post link did you? I like to see what crazy people read from time to time. </em></p>
<p>After looking around a little I couldn&#8217;t find an article where he actually said it <strong>should</strong> be an entitlement. Turns out this was just the headlines that was pulled from a <a href="http://online.wsj.com/article/SB10001424052748704901104575423294099527212.html" target="_blank">Wall Street Journal opinion piece</a> but made all sorts of news as a quote.</p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/name-changing-entitlement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix .SVN file permissions with BASH</title>
		<link>http://monolithdev.us/fix-svn-file-permissions-with-bash/</link>
		<comments>http://monolithdev.us/fix-svn-file-permissions-with-bash/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 19:38:03 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=394</guid>
		<description><![CDATA[Occasionally I need to checkout a SVN repository as root to get the the correct file structure. I don&#8217;t like any of my application files living in /public_html, always one level up. For most enviroments the user account one level up is the user&#8217;s /home directory. 
A user named bob will log in to /home/bob [...]]]></description>
			<content:encoded><![CDATA[<p>Occasionally I need to checkout a SVN repository as root to get the the correct file structure. I don&#8217;t like any of my application files living in /public_html, always one level up. For most enviroments the user account one level up is the user&#8217;s /home directory. </p>
<p>A user named bob will log in to /home/bob and the publicly facing directory will be /home/bob/public_html, and the application would live in /home/bob/app with /home/bob/public_html/index.php pointing to the app.</p>
<p>Using the standard SVN file structure the repository would look like http://example-repository.com/bob/trunk/ with the rest of the files inside /trunk. </p>
<p>If you try to checkout from user bob you&#8217;ll end up with /home/bob/trunk/app. There are lots of ways around this but I prefer to just checkout as root. We can use chown to fix the file permissions. In some cases you&#8217;ll want the group to be nobody. We don&#8217;t however want the group nobody to own any svn files. </p>
<p>One liner to fix that. </p>
<pre>
find -name '.svn' | xargs chown -R bob:bob
</pre>
<p>This will recursively search for any .svn files and run chown.</p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/fix-svn-file-permissions-with-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A preview to a government regulated Internet</title>
		<link>http://monolithdev.us/preview-to-government-regulated-internet/</link>
		<comments>http://monolithdev.us/preview-to-government-regulated-internet/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 14:33:51 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[net neutrality]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=389</guid>
		<description><![CDATA[The irony of this is truly entertaining. At this point you might as well have sense of humour about what is going on. In a previous post I chronicled the origins of Net Neutrality. In a nut shell geeks sharing pirated movies cried &#8220;packet equality!&#8221;, when their ISP started throttling their traffic. Who will save [...]]]></description>
			<content:encoded><![CDATA[<p>The irony of this is truly entertaining. At this point you might as well have sense of humour about what is going on. In a previous post I chronicled the origins of Net Neutrality. In a nut shell geeks sharing pirated movies cried <em>&#8220;packet equality!&#8221;</em>, when their ISP started throttling their traffic. Who will save them from the big greedy ISP fat cats?</p>
<p><strong>I&#8217;m from the government and I&#8217;m here to help.</strong></p>
<p>Over the weekend, &#8220;law enforcement&#8221; agencies shut down 73,000 blogs at once. The details are bit sketchy right now but it looks like it was over copyrighted material although there is plenty of speculation since nobody is talking.</p>
<p>A single individual was providing free hosting for wordpress blogs and collecting the revenue from advertisements. He had over 73k blogs a single hosting account. This individual came home to find the following email from his data center.</p>
<blockquote><p>
Due to the history of abuse and on going abuse on this &#8216;bn.***********&#8217; server.</p>
<p>We have opted to terminate this server, effective immediately. This termination applies to: bn.affiliateplex.com</p>
<p>Abuse Department<br />
BurstNET Technologies, Inc
</p></blockquote>
<p>From this email you could assume several cease and desist orders where sent prior to shutting down the service. Normally this is for some sort of copyright violation. After sending the WTF? response the data center replied with &#8230;</p>
<blockquote><p>
[...] Bn.xx*********** was terminated by request of law enforcement officials, due to material hosted on the server.</p>
<p>We are limited as to the details we can provide to you, but note that this was a critical matter and the only available option to us was to immediately deactivate the server.[...]
</p></blockquote>
<p>The data center refunded his money but has refused to provide access to the data. Probably because they no longer have physical possession of the data. This is just a guess but there are probably a couple people out of those 73,000 blogs that would like their data back. Good luck with that. </p>
<p>Once your data leaves your home computer for <em>the cloud</em> its no longer yours no matter what your told. A third party gives you access to your data that is most likely stored on a machine owned by yet another entity. In this case both the means to access and the data itself was removed. I don&#8217;t begrudge the data center, they had no choice. </p>
<p>The solution is to never leave your critical data in one place. Natural disasters, equipment failure, big government or a bankrupt company can wipe out your data in a second. I really hate to say I told you so. Ok I&#8217;m lying, I actually enjoy it in this case. </p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/preview-to-government-regulated-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vote set on FCC&#8217;s Net Neutrality Authority</title>
		<link>http://monolithdev.us/vote-set-on-fcc-net-neutrality-authority/</link>
		<comments>http://monolithdev.us/vote-set-on-fcc-net-neutrality-authority/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 15:28:10 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[government]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=385</guid>
		<description><![CDATA[I just couldn&#8217;t help another net neutrality post.
Today the FCC is going to vote on taking public comment on the proposal to give the agency greater authority over broadband service providers according to a Bloomberg article.

FCC commissioners may vote to grant themselves authority to regulate the Internet as early as this summer.

I think the word [...]]]></description>
			<content:encoded><![CDATA[<p>I just couldn&#8217;t help another net neutrality post.</p>
<p>Today the FCC is going to vote on taking public comment on the proposal to give the agency greater authority over broadband service providers according to a <a href="http://www.businessweek.com/technology/content/jun2010/tc20100616_751009.htm" target="_blank">Bloomberg article</a>.</p>
<blockquote><p>
FCC commissioners may vote to grant themselves authority to regulate the Internet as early as this summer.
</p></blockquote>
<p>I think the word <strong>decision</strong> should be replaced with <em>vote</em>. They are going <em>vote</em> on granting themselves the authority to regulate the Internet?</p>
<p>The Supreme Court said &#8220;no&#8221;. Congress actually pulled themselves together and said, &#8220;you better not.&#8221; Good thing they are taking the opportunity to vote amongst themselves.</p>
<p>My agency is set to take a vote on a coffee break&#8230;</p>
<h3 class="center">All in favor of a coffee break say, aye.</h3>
<h3 class="center"><strong>AYE!</strong></h3>
<h3 class="center">All opposed say, nay.</h3>
<p>The aye&#8217;s have it.</p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/vote-set-on-fcc-net-neutrality-authority/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memorial Day</title>
		<link>http://monolithdev.us/memorial-da/</link>
		<comments>http://monolithdev.us/memorial-da/#comments</comments>
		<pubDate>Mon, 31 May 2010 13:44:07 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[Random Thoughts]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=379</guid>
		<description><![CDATA[
Thank you for our freedom.
Photo from Questions and Observations
]]></description>
			<content:encoded><![CDATA[<p><img src="http://monolithdev.us/wp-content/uploads/2010/05/Memorial-day-450x348.jpg" alt="" title="Memorial-day-450x348" width="450" height="348" class="aligncenter size-full wp-image-378" /></p>
<h1 class="center bold">Thank you for our freedom.</h1>
<p class="quiet small">Photo from <a href="http://www.qando.net/?p=8599" target="_blank">Questions and Observations</a></p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/memorial-da/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Net Neutrality &#8211; The Saga Continues</title>
		<link>http://monolithdev.us/net-neutrality-the-saga-continues/</link>
		<comments>http://monolithdev.us/net-neutrality-the-saga-continues/#comments</comments>
		<pubDate>Tue, 25 May 2010 21:52:54 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[government]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=375</guid>
		<description><![CDATA[With November just around the corner Congress just did something unbelievable, their job. 
111 Representatives including 74 Democrats sent the FCC Chief a letter telling him to abandon his plans to make shit up as he goes with his efforts to enforce Net neutrality. 
The last time Congress tackled updating telecommunication laws it took nearly [...]]]></description>
			<content:encoded><![CDATA[<p>With November just around the corner Congress just did something unbelievable, their job. </p>
<p>111 Representatives including 74 Democrats <a href="http://news.cnet.com/8301-13578_3-20005834-38.html" target="_blank">sent the FCC Chief a letter</a> telling him to abandon his plans to <a href="http://www.engadget.com/2010/05/06/fcc-outlines-new-third-way-internet-regulatory-plan-will-spli/" target="_blank">make shit up as he goes</a> with his efforts to enforce Net neutrality. </p>
<p>The last time Congress tackled updating telecommunication laws it took nearly 5 years to hammer out the details. I&#8217;m guessing they won&#8217;t get to this prior to the summer recess. Such a novel idea, elected officials writing laws instead of appointed bureaucrats doing whatever they want. </p>
<p>Here&#8217;s a nice little gem from the <a href="http://news.cnet.com/8618-13578_3-20005834.html?communityId=2071&#038;targetCommunityId=2071&#038;blogId=38&#038;messageId=9418246&#038;tag=mncol;tback" target="_blank">comment</a> section of the cited article. If this doesn&#8217;t invoke a big &#8220;WTF?&#8221; nothing will. </p>
<blockquote><p>
[...] here is net neutrality described in a single sentence: &#8220;all packets are created equal&#8221;
</p></blockquote>
<p>Packet equality? Pass the cool aid please.</p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/net-neutrality-the-saga-continues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Net Neutrality Decoded</title>
		<link>http://monolithdev.us/net-neutrality-decoded/</link>
		<comments>http://monolithdev.us/net-neutrality-decoded/#comments</comments>
		<pubDate>Tue, 11 May 2010 20:59:21 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=364</guid>
		<description><![CDATA[Put on your tinfoil hat and enjoy the ride.
The Beginning
What started out as a loud cry of fowl play by the tech savvy power users has ended up as one of the largest political debates of the day. Using the word debate is a little misleading because you have no say in this. 
A few [...]]]></description>
			<content:encoded><![CDATA[<p><em>Put on your tinfoil hat and enjoy the ride.</em></p>
<h3 class="bold">The Beginning</h3>
<p>What started out as a loud cry of fowl play by the tech savvy power users has ended up as one of the largest political debates of the day. Using the word debate is a little misleading because you have no say in this. </p>
<p>A few years back Comcast started throttling torrent traffic in order to ease the burden on their network. You see torrents are used to distribute large files to a large group of people. Most of the time (not all) these large files are video and generally they are pirated. </p>
<p>Think of network traffic as the pipes bringing water into your house. There is an upward limit of pressure that can be used to supply all the houses connected. If a large enough number of houses open up all the faucets at the same time everyones pressure decreases. However most houses don&#8217;t turn all their faucets on full blast. Torrent users are those houses that have all the faucets on all the time. In an attempt to provide all customers with somewhere close to their advertised speed they slowed the torrent traffic. Torrent users represent a small percentage of overall traffic but use a large amount of bandwidth. </p>
<h3 class="bold">The Argument</h3>
<p>The argument started out pretty simple. </p>
<ol>
<li>ISP&#8217;s shouldn&#8217;t be looking at my traffic to start with.</li>
<li>I should be getting the speed I pay for regardless of the content.</li>
</ol>
<p>Sounds pretty reasonable. If I pay for 10mb service, I should be getting 10mb regardless of my traffic. Just a few years ago it wasn&#8217;t uncommon to only have one choice when for broadband access. Consumers were left with no recourse if they wanted broadband access. </p>
<p>Net neutrality sounded like a great idea. I mean otherwise big evil corporations like Comcast, AT&#038;T and other ISP&#8217;s can in effect censor the Internet. Adding insult to injury in some areas ISP&#8217;s are a monopoly, furthermore why are you even looking at my data. </p>
<h3 class="bold">The Response</h3>
<p>The FCC responded by telling Comcast and any other ISP&#8217;s to knock it off and stop throttling traffic. Comcast in turn filed a lawsuit against the FCC. Last month a federal court ruled that the <a href="http://finance.yahoo.com/news/FCC-loses-key-ruling-on-apf-78990100.html?x=0" target="_blank">FCC lacks the authority to impose net neutrality</a>. </p>
<h3 class="bold">Net Neutrality Gets Political</h3>
<p>Well the FCC being the shining light of free speech wasn&#8217;t about to let this slide. You see at some point broadband access begins to get looked at as a right not a service. We&#8217;ve had some <em>fundamental changes in America</em> over the last 18 months or so. </p>
<p>In order to <em>bring power to the people</em> the FCC said, screw it, we&#8217;ll just re-designate ISP&#8217;s in order to enforce net neutrality.  Basically the FCC now gets to just <a href="http://www.engadget.com/2010/05/06/fcc-outlines-new-third-way-internet-regulatory-plan-will-spli/" target="_blank">make shit up</a> as they go. What they&#8217;ve done is split the the data from flow of data as two separate things regulating one as an information service and the other as a telecommunications service. They&#8217;re from the government, they&#8217;re here to help. </p>
<h3 class="bold">Who&#8217;s On What Side?</h3>
<p><strong>Evil Corporation vs. Evil Corporation</strong></p>
<p>Content providers generally like the idea of Net Neutrality. It means that their customers are guaranteed access to content even if they compete with a service provider. An example would any VOIP service. Net neutrality means that AT&#038;T has to provide full service even if your using something like Vonage or Skype for your home phone. </p>
<p>ISP&#8217;s don&#8217;t like net neutrality because now the government can mandate access and prices. They lose control over how they manage the network. </p>
<p><strong>Socialism vs. Capitalism</strong></p>
<p>The argument really stopped being about privacy and content access a while back. The battle is socialism vs the free market. Progressives believe that broadband access is a utility. </p>
<p>Here&#8217;s just a couple gems from pro net neutrality side. </p>
<blockquote><p>
i prefer Government imposed net neutrality than having a private company screw me over.
</p></blockquote>
<blockquote><p>
I&#8217;m almost always against giving control over anything to the government, but these regulations should be passed.
</p></blockquote>
<blockquote><p>
Go go democrats&#8230; push this one through. We can&#8217;t trust Comcast to work for the publics best interest any more than the government. Only the government can fight these monopolies, Americans aren&#8217;t smart enough to vote with their dollars.
</p></blockquote>
<h3 class="strong">Regulators, mount up!</h3>
<p>Since <em>they&#8217;re from the government and they&#8217;re here to help</em>, lets take a look at who these regulators are. </p>
<p>Meet the FCC Diversity Czar Mark Loyd who thinks Hugo Chavez &#8220;<a href="http://www.youtube.com/watch?v=lMKQB7rZIK4" target="_blank">[...]really had an incredible revolution</a>&#8220;. </p>
<p>The FCC&#8217;s Official Spokeswoman Jen Howard worked for an organization called <a href="http://www.freepress.net/" target="_blank">Free Press</a>. Free Press was co-founded by a Marxist professor <a href="http://en.wikipedia.org/wiki/Robert_W._McChesney" target="_blank">Robert W. McChesney</a> from the University of Illinois. Think I&#8217;m making up the Marxist stuff? Check out the interview from the <a href="http://www.socialistproject.ca/bullet/246.php" target="_blank">Socialist Project</a>. </p>
<p>Here&#8217;s a nice little quote from an article he wrote called &#8220;<a href="http://www.monthlyreview.org/090201foster-mcchesney.php" target="_blank">A New New Deal Under Obama</a>&#8220;.</p>
<blockquote><p>
These gains will only be made through an enormous class struggle from below. If won, they will not, we underscore, eliminate the evils of capitalism, or the dangers it poses for the world and its people. In the end, there is no real answer but to remove brick by brick the capitalist system itself, rebuilding the entire society on socialist principles
</p></blockquote>
<p><a href="http://www.monthlyreview.org/080915mcchesney.php" target="_blank">This one is nice too.</a> </p>
<blockquote><p>
The media system reflected the nature of the U.S. political economy, and any serious effort to reform the media system would have to necessarily be part of a revolutionary program to overthrow the capitalist political economy
</p></blockquote>
<h3 class="bold">Socialist Technology Fail</h3>
<p>A Congressional Democrat from Washington decided to forward the FCC&#8217;s proposal around Capitol Hill. Ever wonder why you would ever want to right click on a word document see who wrote the original? Well the FCC&#8217;s proposal had a <a href="http://techdailydose.nationaljournal.com/2010/05/gotcha-watchdog-leaves-digital.php" target="_blank">digital signature from the other co-founder of Free Press</a>, Ben Scott. </p>
<p>This should turn out well. </p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/net-neutrality-decoded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Large Wordpress Hack Hits Major Hosting Companies, twice.</title>
		<link>http://monolithdev.us/large-wordpress-hack-hits-major-hosting-companies-twice/</link>
		<comments>http://monolithdev.us/large-wordpress-hack-hits-major-hosting-companies-twice/#comments</comments>
		<pubDate>Wed, 05 May 2010 16:06:50 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=353</guid>
		<description><![CDATA[Users with Network Solutions and Go Daddy running WordPress are having a rough time recently. Some security analysts are saying they&#8217;re related. The exploit is now being seen on other open source applications. 
On April 11th Network Solutions posted an entry that the issue has been resolved and laid blame to a hole in Wordpress. [...]]]></description>
			<content:encoded><![CDATA[<p>Users with Network Solutions and Go Daddy running WordPress are having a rough time recently. Some security analysts are saying they&#8217;re related. The exploit is now being seen on other open source applications. </p>
<p>On April 11th Network Solutions posted an <a href="http://blog.networksolutions.com/2010/update-word-press-issue-fixed/" target="_blank">entry</a> that the issue has been resolved and laid blame to a hole in Wordpress. A dev over at Wordpress quickly <a href="http://wordpress.org/development/2010/04/file-permissions/" target="_blank">blasted back</a> at Network Solutions, which made me chuckle.</p>
<blockquote><p>
A properly configured web server will not allow users to access the files of another user, regardless of file permissions. The web server is the responsibility of the hosting provider. The methods for doing this (suexec, et al) have been around for 5+ years.</p>
<p>I’m not even going to link any of the articles because they have so many inaccuracies you become stupider by reading them.</p>
<p>If you’re a web host and you turn a bad file permissions story into a WordPress story, you’re doing something wrong.
</p></blockquote>
<p>A few days later Go Daddy was hit and less than a week later hit <a href="http://www.wpsecuritylock.com/breaking-news-dangerous-malware-alert-self-hosted-sites-on-major-hosting-service-hacked-again/" target="_blank">again</a>. The issue is still unresolved at this time.  Whats more interesting is its effecting other applications such as Joomla. There was even some speculation that US Treasury websites have been <a href="http://www.theregister.co.uk/2010/05/03/treasury_websites_attack/" target="_blank">hit with the same attack</a>. </p>
<p><H3>What it does</h3>
<p>In all cases so far the database is left untouched. Malicious javascript is injected into .php files that infects the visitors machine. Fresh installs of WordPress will clean up the mess but the site gets reinfected. Users have reported even changing FTP passwords doesn&#8217;t stop the attackers from gaining access. </p>
<h3>Who it effects</h3>
<p>So far its been Linux servers running php on virtualized accounts. Not sure if the Treasury websites are virtualized or not.</p>
<h3>How I deal with this</h3>
<p>First if your paying $5/month for a hosting service don&#8217;t expect allot of support. For starters all of my clients use <a href="http://www.liquidweb.com/" target="_blank">Liquid Web</a> either on their own account or through me. Having a good data center is key and the guys at Liquid Web are awesome. </p>
<p>The biggest complaint you read about is the tediousness of going through all of your php files looking for some sort of injection. Most of these account holders are actually looking at every single file. Digging through a few hundred files does not sound like fun. Since I run <a href="http://subversion.tigris.org/" target="_blank">Subversion</a> on everything I touch its pretty simple. Just SSH in and enter. </p>
<pre>
svn status
</pre>
<p>Thats it. If anything has changed I&#8217;ll see it. There are other security issues for running SVN on a production site but if you don&#8217;t store your passwords in the open and use .htaccess to block any requests for .svn files you&#8217;ll be fine. </p>
<h3>The cause</h3>
<p>Sounds like they still don&#8217;t have a good grasp on what is going on here. My guess is it has to do with the server or even the OS setup on these accounts. For now the entrance vector remains in question.</p>
<h3>The Solution</h3>
<p>Its too early to lay blame on the hosting providers for a bad configuration. Right now it seems like they are just the biggest targets. However, don&#8217;t expect quality support from discount providers. They just don&#8217;t have the resources to respond to all of their customers. For now their customers are left frustrated with little help or recourse. Its even worse for the development companies that host their clients websites with Go Daddy and Network Solutions. </p>
<p>Given the amount of time this has gone on I would grab my data, clean it and move to another hosting provider. </p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/large-wordpress-hack-hits-major-hosting-companies-twice/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Good Form To Increase Conversions</title>
		<link>http://monolithdev.us/good-form-to-increase-conversions/</link>
		<comments>http://monolithdev.us/good-form-to-increase-conversions/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 15:21:34 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[For The Client]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=255</guid>
		<description><![CDATA[
Entrance Barriers

If you had to guess at the largest entrance barrier for a website what would guess? Maybe there is a cost involved and its too high? The website design is bad? Its a complicated website and not enough instructions?
Sure the cost might be more than the market will bear. More than likely your just [...]]]></description>
			<content:encoded><![CDATA[<p><strong><br />
<h3>Entrance Barriers</h3>
<p></strong></p>
<p>If you had to guess at the largest entrance barrier for a website what would guess? Maybe there is a cost involved and its too high? The website design is bad? Its a complicated website and not enough instructions?</p>
<p>Sure the cost might be more than the market will bear. More than likely your just trying to get that initial contact, an email, newsletter sign-up, anything to get more information to a potential customer. Cost to the user, $0.00 and your still only getting a small percentage of visitors to take the next step, whatever that may be. </p>
<p>Is your site ugly? Maybe, an ugly site to one person is artwork to another. Do ugly sites get less use? Unless your making the visitors eyes bleed and not distracting them with flashing or scrolling text this is more than likely not the cause. Some would say <a href="http://amazon.com" target="_blank">Amazon</a> is ugly or <a href="http://gmail.com" target="_blank">Gmail</a>, certainly <a href="http://craigslist.com" target="_blank">Craiglist</a> isn&#8217;t the pinnacle of design. As long as the user can get around easily without getting a migraine this probably isn&#8217;t what is holding you back. </p>
<p>Maybe you just need more instructions because they get confused? Here is the truth, <strong>nobody is going to read your directions if its more than a couple sentences</strong>. You can use all caps bold flashing text to tell a user what to do and they will not read it if its too long. If you already have instructions and you think you need more detail your only making it worse. </p>
<p><strong><br />
<h3>Its all in the forms.</h3>
<p></strong></p>
<p>Well designed forms aren&#8217;t the end all metric of usability however I would argue its a majority. Its all in the little details. Here are some of the basics. </p>
<ul class="prepend-1">
<li>Are required fields clearly marked?</li>
<li>Are those fields really required? The longer the form the less likely it will get submitted</li>
<li>If a user puts in the wrong input is it immediately obvious what went wrong?</li>
<li>Did you erase the whole form on failure causing the user to start over?</li>
<li>Can a user easily fill out the form by just typing and tabbing to the next field?</li>
</ul>
<p><strong><br />
<h3>An example of bad form.</h3>
<p></strong></p>
<p>The federal government uses a site called <a href="http://mypay.dfas.mil" target="_blank">My Pay</a>. This is by far the craziest process I have ever seen to fill out a form. Recently they asked all their user&#8217;s to change log in credentials and what a nightmare. </p>
<p><img src="http://monolithdev.us/wp-content/uploads/2010/02/myPay-Login-ID-and-Password-Creation_1264615726626-273x300.png" alt="My Pay Log In" title="My Pay Log In" width="273" height="300" class="aligncenter size-medium wp-image-256" /></p>
<p>The first thing that happens when you try to login is it opens up a new window in full screen. So if you have a large monitor your now staring at 23&#8243; of login form. Annoying, but not the end of the world. </p>
<p>The complete insanity is you can&#8217;t use the keyboard. You have to actually click on each character with a <em>Virtual Keyboard</em>. But lets take it one step further down the crazy path. The letters an numbers are generated in random locations with each attempt. </p>
<p>This is for <em>&#8220;security&#8221;</em> purposes. I wonder why banks don&#8217;t use this practice? There is a notice message up now. They&#8217;ve disabled right click function as well &#8230; nice. </p>
<blockquote><p>
To all myPay Customers</p>
<p>Although most users have established their new login credentials with no trouble, some users are calling the Central Customer Support Unit for assistance. As a result, customer support is experiencing high call volume, and many customers are waiting on hold longer than usual.</p>
<p>We apologize for any inconvenience this may cause. We are doing everything possible to remedy this situation.
</p></blockquote>
<p><strong><br />
<h3>Good Form</h3>
<p></strong></p>
<p><a href="http://mint.com" target="_blank">Mint</a> has an example of a great sign-up form. As soon as the page loads the the cursor is focused on the first field so you can start typing right away. You can tab to the next field and you&#8217;ll notice the current field is clearly highlighted. Furthermore by clicking on the label it brings the field in focus. You can click anywhere after the check-box field and it will toggle the check-box. You can actually fill out the whole form without even touching your mouse. </p>
<p>Usability is increased by validating on the fly. Each time you go to the next field the form will check if you have a valid entry and display the error if there is one or simply <em>OK</em> if there isn&#8217;t. </p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/good-form-to-increase-conversions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logging Emails Sent Through Wordpress</title>
		<link>http://monolithdev.us/logging-emails-sent-through-wordpress/</link>
		<comments>http://monolithdev.us/logging-emails-sent-through-wordpress/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 17:49:05 +0000</pubDate>
		<dc:creator>darren</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://monolithdev.us/?p=227</guid>
		<description><![CDATA[Ever have the need to log emails from a contact form inside of of wordpress? Here&#8217;s my solution.
The Problem
The client uses the Contact Form 7 wordpress plugin for events, registrations and subscriptions. Up until this point all the emails needed to be cut and pasted manually into a master list for marketing or other action [...]]]></description>
			<content:encoded><![CDATA[<p>Ever have the need to log emails from a contact form inside of of <a href="http://wordpress.org/" target="_blank">wordpress</a>? Here&#8217;s my solution.</p>
<h3 class="bold"><strong>The Problem</strong></h3>
<p>The client uses the <a href="http://wordpress.org/extend/plugins/contact-form-7/" target="_blank">Contact Form 7</a> wordpress plugin for events, registrations and subscriptions. Up until this point all the emails needed to be cut and pasted manually into a master list for marketing or other action items.</p>
<p>Specific actions are taken with each contact form. Some are simply added to a master email list while others are used to send content through snail mail. The need for more forms over the next few months will be increasing. These forms are very time sensitive so the solution must be dynamic enough to preclude more than a few hours in turnaround.</p>
<h3 class="bold"><strong>The Solution</strong></h3>
<p>If resources were unlimited (time and budget) this would be a great place to implement pre-built CRM (customer relations mangment) system. There are plenty of open source and commercial applications that would work well.</p>
<p>The biggest limiting resource here is time. The client knows how use wordpress and the current site is already well established with content. So we&#8217;ll hack it.</p>
<h3 class="bold"><strong>Logging Emails</strong></h3>
<p>Logging outgoing emails from any type of contact form is essential. This could be as simple as storing them in a database or even writing to a flat file. Logging emails will help you pick up security issues as well as troubleshooting.</p>
<p>The solution is pretty simple. Every email sent out through wordpress uses the <a href="http://codex.wordpress.org/Function_Reference/wp_mail" target="_blank"><strong>wp_mail()</strong></a> function, including forms through Contact 7. All we need to do is capture the $_POST variables when a call is made to wp_mail().</p>
<p>We can use the <a href="http://codex.wordpress.org/Function_Reference/add_action" target="_blank"><strong>add_action()</strong></a> hook from wordpress to accomplish this.</p>
<h3 class="bold"><strong>A simple example</strong></h3>
<p>We&#8217;ll insert our hook in the functions.php page for the theme. For this example I&#8217;ll use a theme called <em>custom</em>.</p>
<pre>wp-content/themes/custom/functions.php</pre>
<p>We&#8217;ll create a function to capture the posts. This function won&#8217;t really do anything but you&#8217;ll get the point. Then we&#8217;ll hook the function into wp_mail().</p>
<pre>function saveContact() {
    // all of our post variables are in the $contact array
    $contact = $_POST;

    // now would be a good time to clean and filter
    foreach( $contact as $key =&gt; $value ) {
        // trim it, escape ... it you know the drill
    }

    // insert into the database or save a flat file

}

// hook it
add_action( 'wp_mail', 'saveContact' );</pre>
<p>Now anytime wordpress sends an email it will call our saveContact() function. This is fine to just capture the data but we want to do something with it. Keep in mind Contact 7 adds in some of its own post variables so you may want to pop those off before processing the data.</p>
<p>If you want to echo anything back to test this turn off your javascript otherwise Contact 7 will send an ajax call behind the scenes.</p>
<h3 class="bold"><strong>An advanced example (go cURL yourself)</strong></h3>
<p>Wordpress is great but I want to use a MVC framework to handle all of the the different actions. I want to know what form was sent and use the information to populate various tables. I use Kohana but any of the popular frameworks can handle this in the same way. The benefit here is I can use the framework&#8217;s built in cleaning and database helpers. We&#8217;ll use cURL to send the post variables to our controller.</p>
<p>I&#8217;ll send the data to a controller in public_html/example. So the domain www.mydomain.com has a standard wordpress install but we have a <a href="http://kohanaphp.com/" target="_blank">kohana</a> controller living in www.mydomain.com/example. I&#8217;ll also send along the URI where the form originated. We&#8217;ll take care of all the data inside the framework. Clear as mud?</p>
<p>Wordpress by the way does not like putting this source code inside the post. You can check it out <a href="http://monolithdev.us/dev/demo/curl-yourself.phps" target="_blank">here</a>.</p>
<p>For security you can make sure the cURL posts are only sent from your domain.</p>
<p>With permalinks enabled you can differentiate between forms posted from something like www.mydomain.com/contact and www.mydomain.com/contact/subscribe.</p>
]]></content:encoded>
			<wfw:commentRss>http://monolithdev.us/logging-emails-sent-through-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
