Helping people with computers... one answer at a time.

Open WiFi hotspots at coffee shops, airports and other public places are opportunities for hackers to steal information. I'll review how to stay safe.

I've returned to the same coffee shop where I was a few months ago when I noticed that my email had been hijacked/hacked. This time, I'm using my phone, but the last time when I noticed the hack, I was using my computer and doing email over an open-internet, free WiFi network.

Do you think that could be the source of the problem or just a coincidence? I'm still afraid to do email from here.

It definitely could have been. Unfortunately, it's hard to say for sure and it could have been something else unrelated.

As we can't really diagnose the past, let's look ahead instead.

It absolutely can be safe to do email from a coffee shop or any other location that provides unsecured or "open" WiFi. In fact, I do it all the time.

But you do have to make sure to follow some very important practices to ensure your safety.

Turn On The Firewall

This is easily and frequently overlooked.

When you're at home, you may use your router as your firewall and keep the Windows or other software firewall on your machine disabled as redundant. That works well, as the router stops network-based attacks before they ever reach your computer.

Locked Laptop

When you're on an open WiFi hotspot or connected directly to the internet via other means, that software firewall isn't redundant. In fact, it's required.

Make sure that the firewall is enabled before connecting to an open WiFi hotspot. Various network-based threats could be present on an untrusted connection, and it's the firewall's job to protect you from exactly that.

Consider Not Using Free WiFi

As I said, it can be safe to use open WiFi, but it's also very easy for it to be unsafe.

The solution that you used while you were at that same coffee shop (and asked me about in this question) is a very common and solid one: use your phone instead.

While it is technically possible, a mobile/cellular network connection is significantly less likely to be hacked. I use this solution when I travel.

Most mobile carriers offer one or more of the following options:

  • Use your phone. Many phones or other mobile devices, such as iPhones, iPads, Droids, Blackberrys and others, are quite capable email and web-surfing devices, and typically do so via the mobile network. (Some can also use WiFi, so be certain that you're using the mobile broadband connection for this option to avoid the security issues that we're discussing.)

  • Tether your phone. Tethering means you connect your phone to your computer - usually by a USB cable, but in some cases, via a Bluetooth connection - and the phone acts as a modem, providing a mobile broadband internet connection.

  • Use a dedicated mobile modem. Occasionally referred to as "air cards", these are USB devices or PCMCIA cards that attach to your computer and act as a modem, providing a mobile broadband internet connection, much like tethering your phone.

  • Use a mobile hotspot. In lieu of tethering, many phones now have the ability to act as a WiFi hotspot themselves. There are also dedicated devices, such as the MiFi, that when turned on, are simple dedicated hotspots. Either way, the device connects to the mobile broadband network and provides a WiFi hotspot accessible to one or more devices within range. When used in this manner, these devices are acting as routers and must be configured securely, including applying a WPA/WPA2 password so as not to be simply another open WiFi hotspot susceptible to hacking.

I travel with a MiFi, and also have a phone capable of acting as a hotspot as a backup. I find this to be the most flexible option for the way I travel and use my computer.

Secure Your Desktop Email Program

If you use a desktop email program such as Outlook, Outlook Express, Windows Mail, Windows Live Mail, Thunderbird or others, make certain that it's configured to use SSL/secure connections for sending and downloading email.

Typically, that means that when you configure the email account in your email program, you need to:

  • Configure your POP3 server for downloading your email selecting "SSL", "TLS", or "SSL/TLS" security option, and usually a different port number, such as 995 instead of the default 110.

  • Configure your SMTP server for sending email selecting "SSL", "TLS", or "SSL/TLS" security option, and usually a different port number such as 26, 465, or 587 instead of the default 25.

The exact settings and whether or not this is even possible depends entirely on your email service provider; you'll need to check with them to determine the correct settings to use. How you configure these settings, of course, depends on the email program that you use.

With these settings, you can feel secure downloading and sending mail using an open WiFi hotspot.

It's what I often do when I don't have my MiFi with me.

"I expect that people simply login to their web-based email service without thinking about security and as a result, the username and password are visible to any hackers in range who care to look."

Secure Your Web-based Email

If you use a web-based email service like Gmail, Hotmail, Yahoo or others via your browser, you must MUST MUST make sure that it uses an httpS connection and that it keeps on using that httpS connection throughout your email session.

I believe that this might well be the source of many open WiFi-related hacks. I expect that people simply login to their web-based email service without thinking about security and as a result, the username and password are visible to any hackers in range who care to look.

Some email services have "require https", which is an option you should definitely enable. The problem is that of the major services, I trust only Gmail to remain in https throughout the entire session (and even then, you need to take care if you then use other Google services using your Gmail account credentials). Some services will use https for only your login, which is insufficient as your email conversations thereafter could be viewed by others. Other services may "fall out" of https, reverting to unsecure http without warning.

Facebook also falls into this category. Facebook has a "require https" option, but apparently can fall out of https, particularly when various Facebook apps are used.

Any and all web-based services that require you to login with a username and password should either be used only with https from start to finish, or should be avoided completely while you're using an open WiFi hotspot.

Use a VPN

This one's for the road warriors. You know them - the folks who are always traveling and online the entire time they do so - often hopping from coffee shop to coffee shop in search of an internet connection as they go.

A VPN, or Virtual Private Network, is a service that sets up a securely encrypted 'tunnel' to the internet and routes all of your internet traffic through it. Regardless of https or not, SSL/secure email configuration or not, as all of your traffic is securely tunneled, no one sharing that open WiFi hotspot can see a thing.

This service typically involves a recurring fee. As I said, they're great for road-warriors but probably overkill for the rest of us as long as we abide by the other security steps described above.

Use Different Passwords

Finally, it's a good idea to keep the passwords of the accounts that you access different from each other and, of course, secure.

That way, should one account be compromised by some stroke of misfortune, the hackers won't automatically gain access to your other accounts that they may then learn of.

As you can see, it's unfortunately easy to get this stuff wrong. When that happens, that guy in the corner with his laptop open could be watching all your internet traffic on the WiFi connection, including your account credentials as they fly by.

And when that happens, you can get hacked.

Fortunately, with a little knowledge, forethought, and preparation, it's also relatively easy to be safe.

Article C4790 - April 10, 2011 « »

Share this article with your friends:

Share this article on Facebook Tweet this article Email a link to this article
Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
21 Comments
Bill
July 31, 2012 2:14 PM

I use an iPod touch when traveling - WiFi only - It has no firewall as far as I know. Am I safe on httpS sites eg American Express? Any other advice specific to iPods?

Bill
July 31, 2012 6:56 PM

Apropos my question above on iPods. I just looked at the AmEx app and it points out that to get to Amex you have to enter your password. Does this mean it can be seen by a hacker? If so, doesn't this apply to all secure websites? You are not secure while you are getting there?

Mark J
July 31, 2012 11:43 PM

@Bill
A well designed web site will have a secure connection to protect the login information by encrypting it. I looked at the Amex page and their login page is a secure encrypted page, as are most if not all banks. Just check for the lock icon on your browser to confirm that it is, in fact, encrypted.

Marg Thompson
October 12, 2012 6:26 PM

I was looking forward to usingWIFI with my Blackberry playbook rather than lugging my computer into wifi spots this winter while in the US.
Does this article mean that I would be taking risks to do so as I do not believe their is any . firewall or virus protection on it. Many thanks. Great article.

Judith
December 4, 2012 9:41 PM

Does this mean that if I just work on a Word file without trying to send it anywhere, it's not able to be hacked? That's mostly what I use when I use a WiFi. Also, the one I use is at work. Is that likely to be an open WiFi? Sorry if I'm asking elementary questions, but I'm not terribly computer savvy.

Make sure your computer is properly protected with a firewall, and you should be fine. Better yet, turn off wireless, you shouldn't need it to run Word. When you hover the mouse over the connection icon in the taskbar it should show you the connection type; "open" or "wep" is bad, "WPA" or "WPA2" is great.
Leo
08-Dec-2012