SEO Basics for Beginners

July 23rd, 2010

Search Engine Optimization

SEO

When I first got into web design, as far as I was concerned, SEO (Search Engine Optimization) was the inclusion of the META KEYWORDS and DESCRIPTION tags within a webpage. With just that, I was experiencing poor results when viewing my Google Analytics. I jumped into SEO research to discover why this was so. SEO is not as simple as it seems. The purpose of this post is to bring some simple yet effective measures to be taken to improve a websites visibility on the internet.

This post addresses some of the core aspects of SEO such as:

  • robots.txt
  • sitemap.xml
  • dublin.rdf
  • Social Networking
  • Blogging
  • Online Directories
  • Google Adwords

Read the rest of this entry »

Good Bye PC ZONE

July 15th, 2010
PC Zone

Farewell my Friend

It is a sad day indeed. This morning during my usual BBC scrounge I came across an ultimately depressing article (Read It Here). The forever brilliant, stylish and hilarious PC game related magazine that I have been a subscriber of for the last 10 years is closing down. The arrival of a new issue in my post box was the highlight of the month every month. Now, on September 2nd of this year, I will be receiving my last ever copy of this awesome magazine.

The reason for this decision is due to lack of sales, with only 11 000 copies being sold world wide. This fact brings to light the sad truth that the internet is killing other forms of media. 10 years ago when most of the world was on dial-up, downloading a 1 Gb demo was nigh on impossible and we therefore waited with eager anticipation for the next release of our favorite gaming magazine to quench our adrenaline pumping needs. Now-a-days, high speed ADSL is common place with uncapped internet services the standard. It is only logical that this should happen. Cause and effect hey.

Still, it is a sad day. I thank ye PC Zone for keeping me company all these years. Your reviews and scores were always spot on, your criticisms just, and your humour never ending. I bid you a good farewell and I will miss you.

Namibia Sport Tour

June 15th, 2010

I have just returned from Namibia. I accompanied a local school in Grahamstown (Hoërskool P.J. Oliver) on their Rugby/Netball/Hockey sport tour to Namibia. It was most enjoyable with the time we got for sight seeing (not that anything was new to me as I am Namibian). Sadly, all the teams lost their games but they enjoyed themselves and it was a good experience. Thats what matters most in the end.

I will be adding new posts to this blog shortly. Just wanted to keep everyone informed as to why my sudden silence.

Date Night – Review

May 25th, 2010

Date Night

Here’s the premise: A couple suffering doubts about their marriage try to renew their love (and secretly their sex life) by doing something out of the ordinary… going on a date. The evening takes a nose dive when a Mafioso boss and his hired guns (corrupt police) confuse the couple with another. The night undoubtedly ends up being more than the average dinner date. The main protagonists are Steve Carell (Phil - husband) and Tina Fey (Claire - wife) and surprisingly they make a very cute couple.

On first glance, one would be forgiven in assuming that this is the typical “chick flick”. The movie title tends to lean in that direction. However, the opposite is in fact true. This flick is jam packed full of humour thanks to The Office legend Steve and 30 Rock lengendess Tina. The unfortunate situation they find themselves in require that they go above and beyond the normal human restrictions in order to prove their innocence and get out of the sticky mess they managed to accidentally step in. Read the rest of this entry »

Movie Reviews – A New Opportunity

May 25th, 2010

I was recently approached by the owner of a local Grahamstown newspaper, The Makana Moon, to write movie reviews. This is a great opportunity and may open up many doors in the future. The “Movie Review” category will contain all reviews I have written for the newspaper (that are published) and I look forward to any comments anyone may have about the movies in question.

Please note that these reviews will be of my own personal feelings towards the films in question and should be interpreted accordingly. I am sure there will be others out there that completely disagree with my final thoughts and if so, I welcome your ratings and reviews in order to provide others with a more complete picture.

And with that, let the reviewing commence.

Website Security – Common Vulnerabilities

May 25th, 2010

Website Security

Everyday, stories hit the news regarding websites which have been taken down by hackers. How does a person gain access to a website one might ask? What is the hackers aim in compromising a website? It is surprisingly easy to find vulnerable websites and is therefore extremely important for website developers to know of the common vulnerabilities and coding errors which create these vulnerabilities in order to prevent them. This post aims at equiping the general web developer with the knowledge of various hacking techniques and methodologies, as well as the mind of the hackers themselves.

Definition of a Hacker

The term “hacker” has changed over the years and therefore it is necessary to firstly define who a hacker is and is not.

Hacker

Hacker Hard at Work

A Hacker is a person who can identify vulnerabilities within a website or computer system and can exploit them to gain unauthorized access to said website or computer system. There are many varieties of hackers. Firstly, not all hackers are “evil”. The term “White Hat” refers to a person who hacks with the best intentions in mind. These may include identification of vulnberabilities in order to patch them ensuring the security of a website or computer system. Rogue white hats are not uncommon. They will penetrate a website/computer and email the administator informing them about their breach and how they accomplished it. Sadly, this tends to hurt the administrators “ego” and they respond with threats and sometimes legal action. This is detrimental to said administator because once they attack the white hat, they become a target for other hackers seeking retribution. The hacking community is very closely knitted and there is a lot of respect and support from fellow hackers. Network/Website administrators must realize that these white hats are only there to help and should act accordingly. Fix the security hole and thank the hacker. If it were not for them, they may have been attacked by a “Black Hat”.

A black hat hacker is someone who is out there to steal and destroy. They go after credit card details or website defacement. Website defacement is the removal of a website to be replaced with a page of bragging and ego boosting for the attacker. Website defacers are the least of ones problems however as more sophisticated black hats will secretly take control of a website in order to gain further access to a system or to turn the machine into a bot. A bot is a hacker controlled computer which [performs the hackers bidding. Be this in sending out large amount of spam, used as a tunnel through which to hack or combing them in a DoS attach (detailed below).

Cracker

A Cracker should not be confused with a hacker. Their main purpose it to bypass software security procedures such as anti-piracy methods. There is a wide range of anti-piracy methods (enough for 10 posts) yet no matter how complex the method, a cracker will endeavor to break it allowing people to use the applications free of charge.

Phisher

A Phisher is a person out to get personal information from people usually by means of fake emails or websites. The most common form of phishing email is one which apparently is sent from your bank asking you to update your back details. Never follow these links and complete the forms, no matter how legitimate they appear. No bank will ever send you and email requesting this.

Phreak

A Phreak is a person skilled in manipulating the telephone network. They are able to bypass call costs using a number of methods (again, a topic saved for another post). They are harmless to the general public and only of concern to the telecom companies which would be loosing the possible revenue from calls made by the phreak.

Website Vulnerabilities

That concludes our definition of various "hacker" labels. Lets get onto the meat of this topic: Website Vulnerabilities. Below I will detail some of the more common types of security flaws associated with websites. How to patch these vulnerabilities will not be covered here as the methods vary and  the solution relies on the programmer educating themselves further in the various forms.

SQLi (SQL Injection)

SQL Injection

SQL (Structured Query Language) is a database language used my multiple database software for creating, using and managing databases. Microsoft Access, MSSQL, MySQL, Posgress and more use the SQL language. SQL Injection is the process of injecting SQL code into a query in order for it to perform a request outside of those used on the website to allow attackers information regarding the website and its database. SQLi can be performed in many ways: using the address bar, form fields and even header manipulation. Prevention of SQLi relies on the programmer having query string filters in place to prevent execution of these injected commands, yet there are multiple means in which to bypass these filters and the programmer should be as comprehensive as possible.

XSS (Cross-Site Scripting)

XSS (Cross Site Scripting) allows users to inject JavaScript code into a website, either via the url or a form field to perform some function. Database information is secure however, a script can be inserted into the website which redirected other users to a different website. XSS is often combined with phishing in order to steal user’s login credentials or steal a users cookies (which are as good as taking their login credentials). Yet again, the best way to try and prevent this is to build JavaScript filters which remove any JavaScript code inserted into a form or url.

CSRF (Cross Site Request Forgery)

CSRF (Cross Site Request Forgery) attacks can allow an attacker to hijack a victim account, which may result in malicious requests being forged under that account. Proper CSRF exploitation can logout a user, transfer money, change a password, modify information, make posts, change user status; all of which is performed from within the victim account.

Not only is a CSRF attack relatively simple to achieve, but it can be very difficult to detect the attack itself. This is due to the fact that the attacks appear to be performed by a legitimate user.

LFI / RFI (Local/Remote File Inclusion)

LFI (Local File Inclusion) or RFI (Remote File Inclusion) allow an attacker to request files from the server to be displayed inside of a webpage. This vulnerability makes use of the PHP include command and is most prominent in website with the url:

http://www.website.com/index.php?file=filename

I could, for example, replace filename with index.php and get the page to display the source code (including the PHP code) within the webpage. Again, filters can be used to prevent files with certain file extensions from being opened but ofcourse, there are methods to bypass these filters.

DoS (Denial of Service)

A DoS (Denial of Service) attack is not one which you can prevent against. A hacker will flood a server with requests often with the use of bots (mentioned above). The constrant stream of requests slow down a server until it runs out of resources and crashes, taking the website and all others on that server offline. Large websites such as Yahoo and Google have been attacked by this. Some websites attempt to prevent this by limiting the number of requests sent by a computer, however, if 10 000 computers are all ending requests one after each other, the time limit does not help much.

Conclusion

These vulnerabilities are just some of the most common ways in which a website is compromised. There are many other lesser known or used forms and it is in the programmers best interest to research the various techniques in order to combat them. I hope this post has provided some insight into the various vulnerabilities which exists and provides web designers a starting point with which to further their knowledge on these vulnerabilities.

Best Internet Security Suite?

May 13th, 2010

Death by Computer

Death by Computer

The marathon running machine I call my laptop has recently decided it would rather walk than run. In laymans terms, it slows down to an almost unusable state. It gets so bad it cant even restart itself, complaining that it does not have enough resources. This prompted me to investigate in PC tuning solutions and from previous experience, I re-installed and completely tweaked my PC for best performance using Auslogics Speed Boost. Did it help? No. Did it make my Windows 7 look atrocious? Yes.

That was to be expected however so I am in no way rebuking Speed Boost. It’s actually an extremely useful application and I recommend you try it out. Anyway, thats not the end of my story because as of yet, what I’ve said has nothing to do with the topic. As my computer still decided to take a nap while it was awake, I realized this is not a matter of fragmented disks or overabundance of internet cookies and cache. I started investigating the applications I was using. Apparently FireFox 3.6 has a memory leak which can cause the exact same results that I was experiencing. I swapped to Google Chrome. Did it help? No. Final thought, it must be some sort of virus! Read the rest of this entry »

Griffins Web Dev Tools

April 20th, 2010

There are thousands of applications available which are specific to website design. Different designers each have their own preferences as to what programs to use. Some will swear by Adobe Dreamweaver, others Microsoft Publisher. Personally, such tools I find restricting. I will not touch Microsoft Publisher with a barge pole. So, at Griffin Studios, what tools do I use for website development? Read the rest of this entry »

Website Design at a Distance

April 14th, 2010

Griffin Studios is still a relatively new company and as such, our target market has been within the local area in which Griffin Studios is based.  Often this can be restricting,  preventing a web designer’s portfolio from increasing ;  however, it can have its benefits. Below, the issue of distance between a web designer and their client will be addressed, with the possible pros and cons that arise from a long distance relationship with a client. Read the rest of this entry »

Templates – Up And Coming Special Offers

April 13th, 2010

Hi all.

I would like to dedicate this post to the future addition to Griffin Studios. As of a few weeks ago, my wife, Monika, created a workbook for me to doodle and draw designs for websites. I have already gotten quite a few down, specific to certain business types. I will be turning these pencil designs into full blow websites, available for purchase on the website. By purchase, I mean that a person will be able to choose a template, have a maximum of 4 pages, and the whole lot will be sold to them at an affordable price.

These templates will be a one time offer in the sense that once a template has been selected and bought, it will never be available again, ensuring the client a unique presence on the internet. At a later stage, I will develop more generic templates which will always be available for download, allowing someone to add the content themselves. One of my templates has already been picked by a photographer before the digital version was even created. I will be sure to post here which one it was when the website is complete.

Keep your eye open on the website. I anticipate to have a few templates out in the next month or so, but will keep you updated.

Regards, Braden

Griffin Studios