User Tools

Site Tools


secure_browsing

This is an old revision of the document!


Securing your browsing

Key points:

Beware of "lookalike" domain names

An obvious example: you want google.com, but the site is using g00gle.com — visually similar. But you might spot it — especially if you are not expecting Google to use zeros as “o”s in their URLs.

What about a URL which is believable (e.g. Google-email.com), but actually nothing to do with the company in question?

Other similar approaches — trying to make the URL so long that you cannot see it all in your address bar, and the bit you can see looks right (e.g. Google.com.fehfw8fey98ffrf1gwffgeqt473guyfqgaifafrf67ct7821fft4yf4t1fu14dtd15fqgyurogftyr3go,com

You might not spot that the bit after the .com should be a forward slash, and not a full stop.

(In this case, Google controls both g00gle.com and google-email.com — probably for the very reason of trying to lessen the risk to users.) But these all rely fooling you with a similar, but not correct, URL and, with some additional scrutiny and care, you should be able to keep yourself safe from these type of attacks.

Use a trusted DNS server

Unfortunately, even if you type the right URL into your browser, there is no guarantee that you are connecting to the correct site.

That's because:

  • the system which handles the conversion of domain names to IP addresses — the domain name system — is fundamentally insecure. While some sites have adopted techniques to mitigate this, you are unlikely to know which sites have done this.
  • networks often try to be helpful and offer you a DNS service — but the outcome is that you are using the Internet equivalent of their own personal phone book, and you have no idea if they've replaced some of the phone numbers with fake ones.

The net result is that you could type the right URL into your browser, but still be directed to a fake site.

Make sure that you are using a DNS server which you trust — although you may find some networks block DNS traffic other than to their own DNS server.

To mitigate this, you can:

  • use a VPN, as long as you make sure that your DNS look-ups go over the VPN tunnel. In doing this, you will be using your own choice of DNS server, rather than the DNS server offered by the network you are connected to.
  • use DNS-over-https if your browser supports it. This only protects the browsing you do using that browser.
  • use Tor.

Check for a padlock, but it doesn't mean you're connecting to the right site

Before you send anything sensitive to a website (such as login credentials, or anything personal or confidential), check that there is a padlock symbol in your browser's URL bar.

If you see a padlock, it means that the connection between your browser and the web server is encrypted. Although people spying on your traffic can tell you are connecting to that website, and can tell the volume of data you are sending, they cannot see the content of those data.

The padlock only means that the connection is encrypted. It is not a guarantee that the site is the right site, rather than one being operated by a fraudster. However, it makes this relatively unlikely.

It is also no guarantee that the recipients of your data will not abuse it.

As a rule of thumb, be very wary giving personal data to a site which is not showing a padlock. But don’t rely on a padlock as a sign that everything is fine.

Use two-factor authentication wherever you can

In addition to a username and a password, some sites will let you also set an additional authentication factor, such as a time-limited code, which you have to enter before you can log in. This is very common for banks, and is increasingly common for other service providers.

It would not stop a rogue site from getting your username and password but it should make it harder, if not impossible, for them to log in pretending to be you, as they would not have the ability to generate that unique time-sensitive code.

Enable two-factor authentication wherever you can, but make sure you have a back-up mechanism.

More information on two-factor authentication.

Use "private browsing mode", but be aware of its limitations

There’s a strong chance that your browser offers a “private browsing” mode.

This was commonly discussed as a mode which you were supposed to use when buying a present for a loved one, so that they would not find traces of your secretive gift habits if they happened to use your computer. In reality, it’s pretty much universally known as “porn mode”, for much the same reason.

If you do not want your browser to retain a record of what sites you have visited, private browsing mode is reasonable way of doing this — it saves you having to clear your history, cookies, cache etc manually.

Private browsing does not stop:

  • the sites you visit from logging information about you, such as your IP address.
  • your network provider from seeing (and potentially recording) your traffic.

So it can be a useful tool if you do not want your computer to retain information about your browsing, but be aware that it does not hide your browsing from your Internet provider.

If you want to do that, then Tor, especially via Tor Browser, is a better option.

Block ads and trackers

Many websites, and other third parties, will use different techniques to try and track you. This is mostly for the purpose of trying to learn more about you, in an attempt to show you what they think are relevant adverts.

Blocking adverts and trackers can cut down on this spying, and may also have the beneficial side effect of making web pages load faster.

There are various techniques for blocking these things:

  • Pi-hole is a piece of software which you run on a computer on your network (it is named after the cheap, low-powered computer, the Raspberry Pi, which is excellent for this type of thing). You configure it so that all computers on your network (including computers, phones, and “smart” devices, such as TVs) use it as their chosen DNS server. It regularly checks online lists of known ad or tracking servers, and gives DNS look-ups for those sites a fake answer, so that you do not load them.
  • on-device software, usually in the form of a browser plug-in, such as Ad Block Plus and Ghostery.

Clearing your cookies and cache

Sites may store information on your computer, in the form of cookies.

You can delete these (or refuse to receive them in the first place) through your browser settings.

Blocking all cookies might make some sites work poorly — if a cookie is used for keeping your login session active, for example, or maintaining the content of your shopping basket before you check out, disability cookies could result in a really poor user experience or failed transactions.

Removing cookies will limit the information that a site can collect on you, but will mean you need to keep logging in.

“Supercookies”

Information injected into your browsing by your ISP. VPN may assist — assuming that your VPN provider is not modifying your traffic too…

Tracking without cookies

Even without cookies, still possible to track you:

Combination of IP address and browser-specific information. EFF’s “panopticlick” tool: https://panopticlick.eff.org

Looks at the variety of information available from your browser, and suggests how many other browsers will look indistinguishable from yours. When I tested my browser, it showed it would be pretty easy to identify it: 1 in 100,000 browsers.

Blocking ads

secure_browsing.1564940782.txt.gz · Last modified: 2021/07/06 09:26 (external edit)