Archive for the ‘The CodeTree’ category

Secur­ing Word­Press is not mis­sion impossible

October 19th, 2009

I hate to be the one to burst your bub­ble but the, ‘how to make Word­Press hack proof’ ebook that you just bought was a com­plete waste of money. Why do you ask — because you can’t make Word­Press (or any other web appli­ca­tion for that mat­ter) lit­er­ally ‘hack-proof’.

First, lets define the terms Hack and Hacker before we get started:

  • Hacker’ — while the more appro­pri­ate term in this con­text would be cracker, we’ll use hacker instead because it’s inferred mean­ing is more socially under­stood (albeit a mis­un­der­stand­ing). Regard­ing Word­Press, a hacker would in sim­plest form, be some­one who causes your blog to do some­thing that it isn’t sup­posed to. Hack­ers may find a way to ‘spam’ your blog or cause your blog to make unin­tended posts/comments, they may find a way to over­write impor­tant sys­tem files in your blog soft­ware that ren­ders the blog unus­able and many other nasty activ­i­ties which can all be exam­ples of hacks (actu­ally the bet­ter term here would be cracks).
    • Out­side of a per­sonal vendetta, one com­mon rea­son for a hacker to attack your blog would be to spam it with the hack­ers own mes­sage (i.e. affil­i­ate links … etc).  By the time you real­ize the hack occurred, the hacker has already enjoyed some free click-thru traf­fic cour­tesy of you.

The World Wide Web is dri­ven by web servers, every blog that we use phys­i­cally resides some­where in the world on a real server that is acces­si­ble to the Inter­net. If you have a blog, that blog sits on a server some­where in the world and is prob­a­bly shared by many other peo­ple, blogs and var­i­ous Inter­net appli­ca­tions. The sad but true fact about web servers that you must embrace is, “the only 100% secure web server is the web server who’s power is turned off”. Unfor­tu­nately that isn’t very prac­ti­cal given that with­out power, your blogs couldn’t be found on the Internet.

So if we can’t secure the web server 100%, that means we can­not  secure the con­tents of the web server 100%. The only option left is to real­ize that the web server and the con­tents will be a tar­get of attack on the Inter­net and the best most prac­ti­cal way to secu­rity is to mit­i­gate threats and make the exposed areas (to the Inter­net) of the server as invalu­able as pos­si­ble. In most cases, there will be lit­tle that you can do for server-level secu­rity because in most cases you are not going to be the admin­is­tra­tor of the server (third party host­ing sit­u­a­tions). In third-party host­ing sit­u­a­tions, the best you can usu­ally do is exer­cise cau­tion when select­ing a server provider for your blog. At any rate you can always con­tact your server provider and ask them about their secu­rity pro­ce­dures and what secu­rity mea­sures are in place on the web server.

You can how­ever take sub­stan­tial secu­rity mea­sures on the blog soft­ware level that can dra­mat­i­cally improve secu­rity on your blog. In par­tic­u­lar I am talk­ing about self-hosted blogs;‘free blog ser­vices’ like blogger.com or wordpress.com won’t leave many options for secu­rity to the blog­ger indi­vid­u­ally and you will have to rely on the organization’s admin­is­tra­tion for security.

If you host your own blog you can employ plu­g­ins that may help secure your blog.  Bel­low, I have listed some of my favorite plugin’s for var­i­ous blog software:

b2Evolution | Plu­gin Site: http://plugins.b2evolution.net/

TextPat­tern | Plu­gin Site: http://textpattern.org/plugins

Mov­able Type | Plu­gin Site: http://plugins.movabletype.org/

Word­press | Plu­gin Site: http://wordpress.org/extend/plugins/

No mat­ter what soft­ware you choose as your blog­ging plat­form, no amount of plu­g­ins can match the effec­tive­ness of com­mon sense and prac­ti­cal­ity. This is a list of ‘good rules of thumb’ that extend beyond the use of plu­g­ins and when used in con­junc­tion with plu­g­ins can prove to be very effective.

  1. Less code = more secu­rity. The less code lying about on your blog the less poten­tial there is for code to be exploited. If your not using a plugin/theme/widget on your blog, deac­ti­vate it and then remove it. Do not leave it lying about wait­ing to be exploited. As plu­gin ver­sions change and updates are pub­lished you may for­get to update the ones your not using.
  2. Keep the core blog soft­ware updated.  I am not a fan of the ‘bleeding-edge’ so I wouldn’t nec­es­sar­ily rec­om­mend being on the lat­est ver­sion as soon as it is released. New releases can always have unfore­seen flaws. I rec­om­mend stay­ing 1 full ver­sion behind the lat­est sta­ble ver­sion.  Upgrade only when secu­rity patches are released or when a new sta­ble ver­sion is released and it makes your blog 2 full ver­sions behind the lat­est sta­ble version.
  3. Take advan­tage of the built-in mod­er­a­tion con­trols of the soft­ware. Don’t allow pub­lic com­ment­ing with­out some type of con­trol (i.e all com­ments are held for approval, only com­menters that have been approved can com­ment … etc)
  4. Log into your blog at least once per day just to give every­thing a glance, quickly scan new com­ments, look at the file-size of the blog on your server and note any changes, look at your post count and note any changes … etc

Happy Blog­ging!

Ryan Huff, C.E.O & Founder

RTH Con­sul­tants

The life of a programmer

October 14th, 2009

A pro­gram­mer was cross­ing a road one day when a frog called out to him and said, “If you kiss me, I’ll turn into a beau­ti­ful princess.” He bent over, picked up the frog and put it in his pocket. The frog spoke up again and said, “If you kiss me and turn me back into a beau­ti­ful princess, I will stay with you for one week.”

The pro­gram­mer took the frog out of his pocket, smiled at it and returned it to the pocket. The frog then cried out, “If you kiss me and turn me back into a princess, I’ll stay with you and do any­thing you want.” Again the pro­gram­mer took the frog out, smiled at it and put it back into his pocket.

Finally, the frog asked, “What is the mat­ter? I’ve told you I’m a beau­ti­ful princess that I’ll stay with you for a week and do any­thing you want. Why won’t you kiss me?” The pro­gram­mer said, “Look, I’m a pro­gram­mer. I don’t have time for a girl­friend — but a talk­ing frog, now that’s cool.”

How to blog effi­ciently and get the most from your content

September 30th, 2009

How to get the most mileage from your content

Con­tent in large part, is the vehi­cle of choice in today’s Inter­net. As I see it, today’s inter­net is mostly about two things; infor­ma­tion or com­mu­ni­ca­tion (per­sonal and social). There will always be a cer­tain por­tion of the Inter­net reserved for busi­ness intranets and extranets but by in large we seem to feel that the best use of today’s Inter­net is a global soci­etal infor­ma­tion share. How can we cap­i­tal­ize and mon­e­tize that as con­tent writ­ers, arti­cle writ­ers and bloggers?

The best way that I have found to mon­e­tize con­tent is to write con­tent and pub­lish infor­ma­tion using the R.A.T con­tent prin­ci­ple. Using this prin­ci­ple will ensure that you get the most mileage from the con­tent that you work so hard to put together.

Rel­e­vant Content

The con­tent that you pub­lish to your audi­ence has to be rel­e­vant to your audi­ence. Don’t pub­lish con­tent about cars to an audi­ence that is in the health and fit­ness mar­ket.  It might not upset them ter­ri­bly but your not likely to get much viewer/readership. This pre­cludes that you have done the proper research to iden­tify what your audi­ence should be and where to find them.

Accu­rate Content

Accu­racy is fairly sim­ple, I’ll lis­ten to any­one once but if I find out they are giv­ing  me incor­rect infor­ma­tion I’m not likely  to lis­ten to them again. If your con­tent is not accu­rate it isn’t IF your audi­ence finds out your full of it, it is WHEN.  It is so sim­ple to have accu­rate con­tent that there is no excuse for pub­lish­ing inac­cu­rate con­tent. Sim­ply write about the things that you know, if you aren’t versed on a topic then don’t write con­tent about it. If you want to write about a topic that your not famil­iar with then com­mit to doing exhaus­tive research on the topic prior to writ­ing about it and make sure to tell your audi­ence that the con­tent is only based on your own per­sonal research. I would rather lis­ten to an hon­est per­son that is occa­sion­ally pub­lishes inac­cu­rate con­tent than a liar that I can’t trust con­tent from.

Time­less Content

I think ‘con­tent period’ this is the most impor­tant part of the R.A.T prin­ci­ple. Your con­tent needs to be as time­less as pos­si­ble so it can be reusable. By that I mean that your con­tent should be just as rel­e­vant and read­able two years from now as it is today. Avoid trending/fad top­ics (unless you don’t plan to reuse the con­tent) that won’t be rel­e­vant in a month or two. Refrain from ref­er­enc­ing or using cur­rent events to illus­trate your ideals.  In two years, some­one inter­ested in your topic may be read­ing your con­tent but won’t be able to relate to it because you illus­trate and idea by ref­er­ence to an event in your time that the cur­rent reader was unaware of and then the mes­sage just gets lost.

The Code­Tree rec­om­mends iCon­tact for mar­ket­ing list management

Writ­ten By:

Ryan Huff
ryan@rthconsultants.com

http://rthconsultants.com

Ryan Huff is a free­lance web devel­oper, tech­nol­ogy coach, mar­tial artist, busi­ness devel­oper and an avid inter­net mar­keter. You can con­nect with Ryan here at The Code­Tree or at RTH Con­sul­tants, fol­low @rthconsultants on Twit­ter or at Face­book

Mon­i­tor Mul­ti­ple Gmail Inboxes for New Mail on Mac

September 22nd, 2009

mac gmail notify 259x300 Monitor Multiple Gmail Inboxes for New Mail on Mac

SMTP Email Ser­vice for traveling

Mac users who want noti­fi­ca­tions of new Gmail mes­sages have had the offi­cial Google Noti­fier for quite some time, but it can only mon­i­tor one account. This free menu bar appli­ca­tion, ‘Notify’ mon­i­tors mul­ti­ple Gmail accounts and then some. Notify sits in your menu-bar and dis­plays Growl noti­fi­ca­tions when­ever a new mes­sage hits your inbox. You can also click the menu-bar item at any time to take a quick look at mes­sage previews.

Down­load Google Notify Here

Get the World­wide email finder here