theft

Cloud Control– Setting up Your Own Server

Recent headlines have taught us that we pay a price for the accessibility provided with all of the ‘cloud computing’ services we enjoy. Problems like data theft, loss or uncontrolled downtime haunt even the best of services like Gmail.

So, in this first step of cloud control we’ll start taking back control of our data by unleashing the powerful server capabilities built right in to OS X.

Fire up the Stack

To set our Macs up as remote devices, we need a couple components. We need a web server to make our Mac available remotely. We’ll need a scripting language that supports many off-the-shelf applications we can download: PHP. We’ll also need a database to house the data we are going to create with these applications: MySQL.

You can get all three in nicely packaged ‘stacks’. XAMPP and MAMP are great choices for a quick install. However, they are both a little overweight in terms of what we need, and neither support an SSL connection out of the box.

Web Server

So I chose a lesser-know alternative, Apprellium’s Abyss Web Server. It is easy to configure (right in your browser), lightweight: 3.9 MB and supports SSL so we can encrypt out transactions.

abyss1 Cloud Control   Setting up Your Own Server

Since Abyss does not come in a stack, we’ll have to add PHP and MySQL ourselves, but that’s not hard. PHP is easily added using a pre-configured installer from Apprellium. The link also gives you the short-and-sweet configuration instructions.

For MySQL I chose a slightly older version packaged by Server Logistics for its small size. It comes with a preference pane for basic maintenance. Set your root password and we’re ready for the next step.

mysql Cloud Control   Setting up Your Own Server

Applications

Now were ready to add PHP scripts and build applications we can use locally or remotely. In the next segment we’ll look at more open source applications you can use to enhance the function of your new server. For now, we’re going to install a couple that will make our databases more accessible.

phpMyAdmin is the most popular web-based tool for managing MySQL databases. Once installed, we’ll be able to build databases, upload data and generate reports using queries without writing a line of code. And, since we’ll be turning our Mac loose in cyberspace, this data will be accessible anywhere.

While phpMyAdmin is a great database management tool, I chose TurboDBAdmin for everyday data entry for my databases. Turbo sports a streamlined, AJAX interface that makes entering new data or editing existing data easy and fast.

turbodbadmin Cloud Control   Setting up Your Own Server

Putting it all Together

With all these pieces in place we’re ready to open our server up for remote connections. If your Mac lives on an internal network, you’ll need to set up port forwarding from your router to your Mac and assign it a static internal IP. With your http ports opened on your firewall, you should now be able to see your web server by browsing to the IP address your ISP assigns. You may want to set up a free account with DynDNS and use their free dynamic DNS service to create a name that points to your IP for easier remote access.

A Word on Security

Allowing remote access to your Mac exposes it to risk. Fortunately, Abyss supports directory level access control, and you should set up a password to protect you sensitive directories and PHP scripts (password protecting phpMyAdmin is an absolute MUST). You could also create a non-root user in MySQL and use that in your PHP applications for added security. Only forward ports you are using, that are relatively safe (http rather than remote login or FTP) and configured.

The Fun is Just Beginning

Getting a working web server running on your Mac is a reward itself, but with PHP and MySQL in place and remote access working the possibilities are wide open. Check back for our part two of the series for some PHP/MySQL applications for managing your data and making the most of your new personal server.

Brian

iDisguise presents a curiously strong case for iPod security by obscurity

298481722 b05266094f m iDisguise presents a curiously strong case for iPod security by obscurityiDisguise has introduced a new approach to protecting your iPod and other digital gear from theft–disguise it! The company has released two new anti-theft cases that are designed to look like candy tins while securely holding and disguising an Apple iPod. The cases are meant to be used when an iPod is stored away and not being listened to–the time during which it is statistically most vulnerable to theft.

In addition to protecting your iPod from potential theft, iDisguise simultaneously protects it from drops and scratches, whether in your car, locker, bag, desk, or dorm room. The two iDisguise cases currently available (USD$10.95 each) are made to fit the 1G and 2G iPod Nano, but can also be used to conceal a 1G or 2G iPod shuffle. Additional cases are in development that will suit other iPod models. Each iDisguise case will be offered in limited availability with new designs and disguises being introduced regularly to prevent the recognition of any one disguise among thieves.

Note:

Laptops, iPods banned on UK Flights

Authorities in the United Kingdom banned passengers from taking electronic items – such as iPods and notebook computers – as carry-on on planes following the arrests of 21 people Thursday in connection with an alleged plot to blow up aircraft mid-flight en route to the US.

Other items, including liquids, food, and prettymuch anything that isn’t a medical necessity, are also banned, with few exceptions. The rules, available here, apply for all flights leaving or transferring through the UK, the British government said. The US government also banned liquids of all forms, including beverages and personal hygiene products, from being carried on to flights. Additional information on heightened security measures in the U.S. can be found here and here.

Notebooks, iPods and mobile phones must be placed in checked baggage on flights out of the UK. Airline passengers have become accustomed to additional checks following the September 2001 terrorist attacks in the US. Airport security checks require that laptops must be removed from their cases and X-rayed. But the new security measures in the UK could mean an increased chance of theft or damage to laptops and devices that must be checked and not carried on.

Read the rest of the article at Macworld UK for ideas on how to protect your laptop and data if you need to check it through in the UK.

We don’t think we could make a transatlantic flight without an iPod. Kinda makes Snakes on a Plane look good…

Note: