Category Archives: WebApps

A note on Tinyurl and security

It seems some websites produce horrifically long url’s and others (such as twitter) imposes some strict boundaries, which has created the need for sites such as With tinyurl you can post a long (even really long) url on the site and have a short (redirect through tinyurl) instead. It’s pretty smart, but I really don’t like being redirected to a secret destination.

On they luckily have an option (if you have cookies enabled) which allows you not to auto-redirect. Instead you reach a page on, are shown the destination and must click proceed to go on to the destination.

While I’m not using internet explorer, and shouldn’t be receptive with too many browser bugs, trojans and other malware, it’s quite nice to be able to check the destination when being redirected through a popular redirection site.


With the amazing buzz around RubyonRails, everyone seems to be hooked on the Model-View-Controller (or just MVC) paradigm – and do strive to mindlessly implement the ”Ruby way” into other programming languages without too much reflection and thoughts on how to do it. . Even tough most of the efforts I’ve seen so far seem pretty hopeless; I do believe you could actually do something good with MVC and PHP. Let me try to tell you how.
Continue reading MVC for PHP