06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Privacy & Counter-Surveillance · Naomi Brockwell TV · · 10:51 runtime

Google Drive Is Not Private

In the wiki GoogleGoogle DriveMEGAGmail Also namedProton, iCloud, Dropbox
Transcript 1928 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

If you've been using the Google ecosystem for years, it might feel like you're trapped. [music] Your whole life is on Google. Your emails, your photos, your contacts, your calendar, your documents. All of this personal information is scanned [music] and analyzed and used in all kinds of ways that you're not aware of. But how can you possibly leave this ecosystem when you're so embedded in it? >> [music] >> In past videos, I've explained how easy it is to take your emails out of Gmail. For example, there's a single button in Proton that imports your entire Gmail history, your entire contacts list, and your entire [music] calendar history.

But what about Google Drive? In this video, I want to focus on how to migrate your files out of Google Drive, looking specifically at the cloud storage platform Mega. Mega is like Google Drive, but privacy-preserving. [music] Let's start by understanding how Mega works. It's a cloud storage service based in [music] New Zealand. On the surface, it looks like any other cloud storage provider. You get a generous free tier of 20 GB [music] with paid tiers starting at $3.75 a month that include all kinds of extra features. [music] And you can upload files through a browser or a desktop sync client, and you can share files [music] via links.

But the thing that makes it stand out is that Mega is end-to-end encrypted, [music] meaning that only you and whoever you share your files with can access [music] them. And even Mega itself can't. [clears throat] When you sign up for Mega, your password does [music] two jobs. First, it authenticates you to the service so that you can log in. Second, it's [music] used to derive an encryption key that lives only on your device. >> [music] >> This master key is what encrypts and decrypts your files. So, when you upload a file, first your file is encrypted [music] on your own computer inside your browser or the Mega app before any data [music] leaves your machine. and then the encrypted file is uploaded to [music] MEGA's servers. MEGA never sees the unencrypted version, and because [music] the key is derived from your password, and your password is never sent to MEGA [music] in plain form, MEGA has no way to decrypt your files. They only store scrambled data. [music] This is called zero-access encryption, because the provider doesn't get access to your files. [music] The trade-off is that if you forget your password, your files are gone forever.

There is no reset password to get your data back option. [music] So, be warned. You should only use end-to-end encrypted platforms like this [music] if you have a really good password management system in place, or you risk locking yourself out. Now, we have many videos exploring password managers, and I suggest that you start there before tackling this migration. Now, let's talk a little about how file sharing works with MEGA. There are two primary ways that you can share [music] things. The first option is to share a folder directly with another MEGA user by entering their email address. >> [music] >> In this option, the files in the folder are already encrypted, so MEGA uses public key [music] cryptography to encrypt the folder's key with the recipient's public key, [music] so that only their account can unlock that key and decrypt what's inside. Basically, only you and the person you emailed will be able to get the files. The second option is to create a share link for a folder, and send it to anyone, even if they're not a MEGA user. In this [music] second case, the key to decrypt the file is embedded in the share link itself.

The link looks something like this, where the part after the hash is the decryption key. Obviously, there are a few things to note [music] about this second method. Anyone with the full link can decrypt the file, so you need to be very careful whom you share it with. Treat [music] the URL itself like a password. Don't share it in insecure chats and ideally turn on disappearing [music] messages wherever you do share it so that the link doesn't linger in message logs [music] that could leak in a future data breach. You can also add passwords to shared links and set expiration dates on them and revoke access at any time and I highly recommend using these features. One thing to understand about these links, this part after the hash that is the decryption key is called [music] a URL fragment and when you load a link your browser only ever sends the part before the hash to the server and keeps everything after the hash on your [music] device. This is default behavior in every browser because fragments were originally designed for things like jumping to a specific section of a page and your browser handles this locally without the server ever needing [music] to see it. Now Mega takes advantage of that built-in behavior and never sends that decryption key to Mega's servers.

Instead, your browser requests the encrypted file from Mega servers and then the code running locally in your [music] browser reads the key from the fragment and decrypts the file on your device. So Mega servers should never see the key. Obviously, as with any software, there is an element of trust that Mega is serving you the code that they say they're [music] serving you but this already raises the bar significantly compared to cloud storage like iCloud, [music] Dropbox or Google Drive who get access to everything you upload by default. But again, wherever you share this URL is going to be your [music] weakest privacy link. If you're emailing it to someone via Gmail, you are giving Google the key to the file.

Now let's go over step by step how to import all your Google Drive files to Mega. It's a pretty simple process [music] but there are some big caveats. Let's go through the process first. You'll start by creating an account at Mega. Make sure you save your password and backup keys somewhere really safe like a secure [music] password manager because as mentioned, you can't recover your account if you lose these things. Next, [music] in the Mega web interface, click upload. Then click import from another cloud service. Select Google Drive and you'll be redirected to a Google [music] login screen. This is Google's own authentication page. So you're giving Mega temporary permission through Google's official system, not handing over your password. Authorize Mega to be able to access your drive.

Then click [music] start import and Mega will pull your files directly from Google servers into your Mega account. The transfer happens server to server, which means you're not downloading everything to your computer and then re-uploading it. It is much faster than doing it manually [music] and the files are encrypted by Mega as they land in your account. [music] It's a super seamless process and incredibly easy. One thing to be aware of is that this import is the one moment when Mega's servers handle your files in unencrypted [music] form because they have to receive them from Google before they can encrypt them. Now Mega says that the transfer runs on dedicated servers used [music] only for imports and that the keys are discarded as soon as the import is complete. Also, keep in mind Google already has full access to these files anyway. But if you'd prefer Mega never get access to these files, >> [music] >> you can always download these files and then upload them through the Mega app yourself so that they're encrypted on your device before they ever reach Mega.

Now here's an unexpected quirk that occurs because of how Google Drive manages ownership. [music] Mega import will only work for files and folders that you are the owner [music] of. And what does this mean? Well, I might create a folder called MBTV [music] and invite a bunch of people on my team to put files in this folder. >> [music] >> And I might presume that because I own the main folder, I also own everything that's put [music] in it. But this is not true. The actual owner of every file

is whoever uploaded it, even if I created the folder that it's housed in. Now, you can look in your Google Drive and see which files and folders you own and which were uploaded by someone else. But the important thing to know is that Google's API will not let MEGA pull [music] files that you don't own. So, if you have a folder that you want to import, but a bunch of other people uploaded things into that folder, MEGA will skip everything that [music] you didn't explicitly put there. You do have a few options here if you want to import everything though, including files and folders not [music] owned by you. Option one is to ask the owner to transfer ownership and hope that they agree. They would then right click the file, click share, and then choose transfer ownership. What if they say no, or you're no longer in contact with the owner? Option two is to duplicate [music] the file. When you create a copy of a file in Google Drive, you become the owner of the new [music] copy. So, you could manually copy every file that you want to become the owner of. Now, for some reason, Google doesn't let you duplicate entire [music] folders. You'd have to manually duplicate every individual file and recreate the entire subfolder structure for these duplicates. [music] If you have thousands of files, this won't be an option. So, a solution is to automate this duplication process.

[music] This is what I did using a tool called Rclone. I might do a future video explaining how to use Rclone and provide the scripts [music] that I used to automate the duplication process if enough people are interested in it. So, let me know. But basically, once you're finished with the Rclone process, you should have an entirely duplicated Google Drive with the original folder structure where you are the owner of everything in it. Now, you can go ahead and import the entire thing into Mega with a single click. The files we store in the cloud [music] are often personal. They might include photos, financial documents, [music] contacts, work projects. On almost all

traditional cloud storage platforms, [music] you don't get any privacy over this data. Their servers can see everything you upload. Their systems can scan and analyze it, [music] and your information is often shared with countless third parties. Moving to a provider like Mega, where the encryption keys live only on your device, and the company has no ability to look at your files, is [music] a real step towards reclaiming control over your own data. It closes off a big open window into your digital life. This video was brought to you by Ludlow Institute, [music] a nonprofit dedicated to advancing freedom through technology. We have a members chat for all supporters of the channel, [music] where you can ask questions, offer suggestions, or simply hang out with like-minded people. [music] If you'd like to join, visit ludlowinstitute.org/donate and become a member. A huge thank you to the wonderful community already there who support our work and make these videos possible.

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 538 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks