5 Great security tools for Ubuntu

Reading Time: 3 minutes Ubuntu usually comes out of the box with a pretty good set of security features. However there are some really great tools out there that can help to save some hassle…

Closing a Thickbox

Reading Time: < 1 minute Thickbox is this great Javascript framework that helps you showing pictures or having a iframe clearly visible on your website.

For example it can be used to create a disclaimer to be displayed when entering a website.

In order to redirect your visitor to an external website if he doesn’t comply with the disclaimer requirement, or to just give access to your website, you need to close the thickbox.

Easy:

Random String Function

Reading Time: < 1 minute A simple function to create a random string.

<?
function generateString ($length = 8)
{
  $string = "";
  $possible = "0123456789bcdfghjkmnpqrstvwxyz";
  $i = 0;
  while ($i < $length) {
    $char = substr($possible, mt_rand(0, strlen($possible)-1), 1);
    $string .= $char;