File Encryption And The Cloud

 

Before I get too far, let me just elaborate a little bit on what encryption is.

Think of a regular, everyday safe. You put your important documents or other items in it, then lock it. Now only someone that knows the combination (or has the key) can open it. File (and disk) encryption works pretty much the same way, you would encapsulate your data into a single file, or array of files that all have names something along the lines of cneu2382865j24 and nobody knows what that is and can’t access it if they don’t have the password to it.

Now I am assuming you, like many other people in this world want at least some resemblance of privacy, especially on your data. This can include anything from important legal evidence to honeymoon photos. Just things you don’t want others to see in general. The problem is, if you choose the cloud to  back up your data , you are in a conundrum. Ed Snowden mentions in his book that they really do look at all those pictures you send to your sweetheart. So how do you keep your data safe from prying eyes?

Switch Cloud Providers

The first option is to use what’s called a Zero Knowledge cloud provider. These providers encrypt your data by default meaning that garbled name you saw earlier is what they see on their end. You log in via your password, which opens the content to you over a secure connection. You can still share and upload and use apps on your various devices the same way you normally would.

Some providers

Encrypt Your Files With Existing Cloud

The next option is to encrypt your files then put them in the cloud. Now there are a few benefits and drawbacks to this approach and I want to make sure I cover them here. Bear in mind, this is a way to securely store the file, like you lock it away until you need it, not something that is frequently accessed.

A great upside is you get to use the same cloud provider you already pay for. This is huge if you already use a larger part of the service like Office 365 and want to still get use out of your 1TB storage on OneDrive. Even if you use a free service – if your data is small enough you can still store it.

The biggest downside is you don’t manipulate the data in your cloud provider though this is expected by design, if you share a link they get that same jumbled mess of a name and can’t do anything with it – unless of course you share your password with the recipient. You will also need to be on a platform that can access it, which I will cover in the instructions portion of this post below.

Another thing to be aware of is your storage limits. If you have a paid plan that gives you 1TB of data and you let it expire to a 5GB free plan, and your vault is say, 15GB, you will run into issues trying to sync it. Be sure to set your vault to a reasonable size.

I’m Sold! How Do I Do It?

I’m someone who likes to make things as universal as possible, portable even. I try to think of ways that a calamity might occur in which I am unable to use a service or product in the future, such as a company closing down or other scenario. I picked Veracrypt because it’s Open Source, so even if the maintainer shuts down, you’ll still be able to find it on some public archive site.

So now, download Veracrypt . Again, just to be forward thinking, save a copy of the installer somewhere ( also replace the most updated copy when your software updates). There are install options for Windows, Mac and Linux so you can share your data between just about anyone on any desktop platform.

I’ve set up the following folders to work with as an example, just imagine My Cloud to be the embodiment of whatever cloud storage you use, and adjust your settings to that folder.

Now you want to install Veracrypt, I’ve gone through this process myself and for basic storage purposes, you can leave all the default values and hit Next.

Once you open the software, you will create your volume, which you an think of as kind of a digital equivalent to a jump drive or external hard drive. It’s portable and you can carry it wherever you want – digitally that is. Again, these default values are perfectly fine for our purpose. During this process, you will want to pick a location for your volume, browse to your cloud folder and give it a name. Use the default encryption options, these are fine.

The next few screens are important though. You will create the size of your volume. This will be dependent on your size of your data, and you will want to be aware of your cloud storage limit. I’m making the example volume 10MB. Then set your password or passphrase (you are using a  password manager  right?).

 

Create Your Volume

(Slideshow)

Next be sure to actually mount your volume (this is akin to the act of plugging in your USB drive), I picked letter V for Veracrypt but as long as it’s not already taken, you can pick any letter. Then the drive will show up and you can place your documents into it to save within the encrypted volume.

(Slideshow)

Don’t forget to dismount when done!

 

 

Backing Up Your Data

Whether it’s family photos, professional work or sensitive legal documents, everyone in the modern age has some amount of data that is precious to them. Not everyone is entirely informed on the best ways to preserve that data though. In previous endeavors, I’ve seen people come to tears that their computers drive had failed after storing the last five years of their childrens’ lives on their computers. The fact of the matter is, the materials in these machines are finite and you have to expect them to fail. There isn’t a set time-frame so the sooner you take action, the better off you’ll be.

In this article I’m going to discuss a few different options, considering there really isn’t a one-size-fits-all solution. The option (or options) you decide on will depend entirely on how precious the data is to you, and how much it will cost to maintain the integrity of the data. Also it should be noted that I’m targeting the consumer class here, larger organizations I expect to have much more complex backup solutions.

I’ll start off by mentioning the most common solution – external hard drives. There are a few things to be aware of when choosing to use external hard drives. First, they fail too. Just moving all your data to a drive will not keep it safe if that is the drive that fails. Second, natural disasters – they can be damaged or lost in a fire. A decent solution to this if you want to be completely offline is to purchase two drives, one that you use consistently, and one that you store in a safety deposit box and update maybe twice a month or whatever time-frame you deem reasonable. Obviously you would be subjected to rent on the box, see your local banks.

Another option would be your standard-issue cloud storage provider. I’m not going to go into this one too much because most users are aware of services like Dropbox. However, there are a few things to consider on this, first is your cost, you’ll be paying a subscription to get any reasonable amount of storage. Second is privacy. It’s one thing to nonchalantly recognize that everything you do is being tracked. It’s an entirely different thing to read a person’s first-hand testimonial to the practice. No matter your opinion on the subject – you need to be aware that anything you upload will be visible to someone.

There are a few services that boast privacy such as Tresorit and Sync . You can also opt for a backup software that you designate the file structure such as Spideroak or Sugarsync.

Luckily there is a happy median to these solutions. I personally use a software called Duplicati. This software has been around for quite a while and has a large community of contributors that help to improve it and fix bugs. One reason I recommend this software is it runs on all the major operating systems – it just runs in the background and you open up the interface in your favorite web browser. You can set it to run the backup job on a schedule, and best of all you can encrypt those backups in-transit to many types of cloud storage. And there you have it, cloud + privacy. Win/win. The most important thing here is to store your encryption passphrase in a password manager (you DO use one, don’t you) so that it’s safe because it’s a two-way street – without that passphrase you can’t access that data either.

If you have the technical know-how, you can build out a Nextcloud server (a cloud storage solution that YOU manage) in your own home for a reasonable price, I do this personally, and have Duplicati backing up to a cloud storage I use every six hours. This is more advanced and requires you to have your own hardware, but it’s also the best way to have your cloud be completely private.