Tag: privacy

Cookies – What they are, why they matter and how to get rid of the nasty ones.

Cookies  cookies

At this point, most people at least have heard about cookies in a non-dessert but websites sense. But what they really are and how they work remain obscure for some. So, let’s try to break it down a little.

What is a cookie?

A cookie is a data message that is stored in your Web Browser (i.e., in a file in your computer) when you visit certain websites.


Basically, you access the site and you receive the cookie that the website sent you. After that, every time you access that website, your web browser (Chrome, Firefox…), sends the cookie back to the website that created in the first place, and which it’s the only one allowed to read and modify the cookie contents.

Why do websites use cookies?


Basically, to remember you and your previous activity on the site.

Look at it this way, let’s say your name is Sam and you’re a regular in a coffee shop where you’re always served by John and you always order black coffee. Chances are the next time you go there, John greets you with a “Hi Sam, nice to have you back here, do you want the usual? Maybe you’re interested in this muffin who’s a match made in heaven for your black coffee.” Does it sound familiar?

Well, websites try to do the same thing, just in the virtual world.  Cookies allow the website to greet you, the remember what products you were browsing last time you visited the site, products in a shopping cart or wish list, what your languages preferences are, and a lot of other stuff, for as long as the cookie stays in your computer.

Also, cookies are a mechanism to let the website know if you’re already logged in the site, so it doesn’t bug you asking for your password again and again (e.g. in a paid news site). These cookies are known as authentication cookies.

Can a cookie have a virus?

Not really. A cookie file is just a text file, it’s not code, so the cookie cannot perform any action by itself. Hence, a cookie is neither a virus or malware and they can’t install those in your computer either. However, cookies can be used to help malicious behavior by third-parties as it is explained below.

Can a cookie represent a threat?

They might, but not by themselves. The cookie is just a small text file which in the wrong hands may represent a privacy threat if a 3rd party has access to unauthorized information.

An attacker can use a bug/attack in your web browser to read cookies and gather information about you, your shopping patterns, the websites you access, and even the passwords you use to access those sites.The attacker can even use your cookies to impersonate yourself into a website.

ProTip: Never save a password in your browser, seriously.

Cookies can also be used to identify a computer infected with a certain malware, so this computer can be compromised or used later to participate in an attack to some other target. Again, the computer had to be infected in some other way (not by the cookie).

The privacy concern

There’s a particular type of cookie which arises controversy: The tracking cookie.

Remember your old normal cookie who only sends information to a website when you visit it? Well, now imagine you left the website with a spy at your back.

A tracking cookie will report to a website of your activities online, even if those activities had nothing to do with the website that gave you the cookie. This cookie will tell on you (like an annoying brother), what you’ve been doing, which sites have you been visiting, etc. Your information, along with the information of many others (in the thousands or even millions) will be analyzed and used – sometimes even sold- mainly for marketing purposes; personalizing the ads you see in a webpage, for example.

Facebook uses tracking cookies, in case you were wondering.

Although this is not harmful to you or your computer, you might not want to share your information with everybody. Most legitimate sites will let you opt-out being tracked and most popular web browsers have an option to send websites a “Do not track” request. However, this does not work at 100%, because some sites simply ignore your “do-not-track-me” request.

In conclusion, cookies are useful and harmless in the good hands, but in the wrong hands they could turn their back on you.

Minimizing Risks

If order to minimize the risks cookies might represent you SHOULD always have an antivirus or malware scanner up to date and regularly analyze your computer. A malware scanner should be able to detect if a cookie has information of a malicious site. I recommend MalwareBytes.

Also, you can delete the cookies from your web browser manually or configure the browser to delete cookies every time you close the web browser.

Keep in mind that if you delete the cookies, you’ll lose some of the cool personalized stuff some websites are able to show you thanks to them. So, there’s an alternate way: The EFF Privacy Badger. The EFF Privacy badger is a web browser extension (Chrome and Firefox) able to recognize which type of cookies (and spy ads) are in a website.

When you visit a site, this extension will allow the good cookies and block the bad ones (trackers and/or related to potential harmful sites). The picture below shows a visit to CNN where the Privacy Badger blocked a tracker (in red).


Thanks for reading!


Telling Firefox to Never Remember History or Clearing it on Exit

1. Click the menu button New Fx Menu and click over Options.


2. Click on Privacy on the left panel. Select Firefox will: to Never Remember History or if you want to be Granular Use custom settings for history.

customhistory383. If you opted for Use custom settings for history click the box for Clear history when Firefox closes.
clear history auto fx38
  • To specify what types of history should be cleared, click the Settings button next to Clear history when Firefox closes.
  • In the Settings for Clearing History window, check the items that you want to have cleared automatically each time you quit Firefox.
    history fx38
  • After selecting your options, click OK to close this Window.
  • Close the Options tab in the browser, marked as: about:preferences page.

Removing your Internet History from almost everywhere

For any reason you want to remove your Internet activities and thus hide them from your spouse, boss, potential employer or another entity, here are some tips and directions:

Deleting your Internet History from your Browser 

Google Chrome

  1. Locate the Chrome Control Center upper right corner of the browser. You should see a symbol with some horizontal lines


2. Click on History as the Figure below shows:


3. Your browser Internet history will appear. Click on the button “Clear browsing data”


4. In the next window you can select which elements to delete and the time range. If you want to delete only your history, check only the first 2 options. If you check Passwords, for instance, all the passwords previously saved in your favorite websites will be removed.


5. Click on Clear browsing data again.

6. Excellent job!

Note: Chrome lacks the feature to remove history on exit, but there are several extensions you can integrate to the browser to accomplish that function.


  1. In the upper right corner of the Firefox Window locate a symbol with some horizontal lines.
  2. Click on it and the windows below will appear.
  3. Cllick on the History symbol


After you’ve clicked the History option. The following window will appear:

4. Click on “Clear Recent History”


That option will take you to the next window.

  • Here you can delete ALL your history (Everything) or just the last few hours or the last day, as well as select WHICH elements you want to delete, not just History but Cookies and Cache, Form-saved fields, etc.


5. Click on Clear Now and You’re Done!.

In Firefox you also have the option to delete the history while closing the browser.  For more detailed instructions click on this post.

Internet Explorer

Are you kidding? Use another browser.

Automatic Tools

If you use more than one browser it makes sense not to want to do this individually. Worry not, there are apps for that (well, actually computer programs)

You might want to check:

Both programs would let you not only to delete your internet history (and related content), but empty your Trash Bin, delete the lists of the files you’ve recently used on Windows (MRU), among other advanced features.

Also, if you don’t want your browser to store any History information anymore you could always use incognito mode.

Removing your Google Internet Search History 

Ok, now you’re computer is rid of your whole internet activities. That doesn’t mean your activity on the sites you’ve visited is gone. Don’t worry, most sites would delete that info after a while (sometimes they have to store that info for legal/law issues), but what about what you’ve searched on Google? Yeah, you want that gone too, you want that gone now!

Well, I was going to take some screenshots but Google Help has this documented nicely. Just click here to get directions on how to remove your Google History from your Computer or Smartphone. Also (like myself) to disable the History records.

Going Anonymous

If for some legitimate or paranoid reasons you wish to go anonymous on the Internet, you can use Tor, an anonymity browser which doesn’t store anything on the browser and which doesn’t let the sites know your real IP. Covering Tor, its capabilities, disadvantages and potential legal issues, is quite extensive for this post.

Good luck!