1
00:00:00,000 --> 00:00:01,000
Okay.

2
00:00:01,000 --> 00:00:08,000
So now that we know that the normal file sharing services are not great when sharing sensitive files,

3
00:00:08,000 --> 00:00:11,000
even if they use end to end encryption.

4
00:00:11,000 --> 00:00:15,000
In this lecture, I want to show you a more private method to share files.

5
00:00:15,000 --> 00:00:18,000
Now this method is peer to peer.

6
00:00:18,000 --> 00:00:25,000
Now, remember we said the main problem was not about encryption, but it was the fact that our files

7
00:00:25,000 --> 00:00:28,000
were stored somewhere that we have no control on.

8
00:00:29,000 --> 00:00:35,000
So in the method that I'm going to show you in this lecture, our files will not be stored in a server

9
00:00:35,000 --> 00:00:36,000
that we don't control.

10
00:00:36,000 --> 00:00:40,000
It's going to be stored locally, it's going to be peer to peer.

11
00:00:40,000 --> 00:00:45,000
So the file will be shared from our computer to the computer of the person that we want to share the

12
00:00:45,000 --> 00:00:46,000
file with.

13
00:00:46,000 --> 00:00:48,000
It's going to use end to end encryption.

14
00:00:48,000 --> 00:00:52,000
It's going to benefit from the anonymity offered by the Tor network.

15
00:00:52,000 --> 00:00:56,000
Therefore, it's going to be more private and more anonymous.

16
00:00:57,000 --> 00:01:01,000
In this method, we're going to be using a tool called Onionshare.

17
00:01:01,000 --> 00:01:09,000
And to put this simply, the way this will work is it will create an onion service on your computer

18
00:01:09,000 --> 00:01:16,000
so others can access this onion service and download your file so you can think of it as if it's creating

19
00:01:16,000 --> 00:01:19,000
a dark web website on your local computer.

20
00:01:19,000 --> 00:01:24,000
And this website can only be used to download the files that you specify.

21
00:01:24,000 --> 00:01:30,000
To make this simpler, you can think of this the as the user that wants to download your file.

22
00:01:30,000 --> 00:01:37,000
And we all have seen this diagram of the Tor network and how when you try to access a hidden service,

23
00:01:37,000 --> 00:01:38,000
you go over three nodes.

24
00:01:39,000 --> 00:01:46,000
The user that you want to share the file with will end at an onion service that is sharing your file.

25
00:01:46,000 --> 00:01:50,000
And this onion service is running from your own local computer.

26
00:01:50,000 --> 00:01:57,000
So the file is shared directly from your computer and you can shut down this sharing service whenever

27
00:01:57,000 --> 00:02:03,000
you want, whenever you feel that you don't want to share the file anymore, or whenever you feel like

28
00:02:03,000 --> 00:02:05,000
your connection is being compromised.

29
00:02:05,000 --> 00:02:12,000
So as you can see in this example, we are not uploading our file to a server that we do not own or

30
00:02:12,000 --> 00:02:13,000
do not control.

31
00:02:13,000 --> 00:02:19,000
Therefore, it fixes the main issue with the method that I showed you with the Firefox service and it

32
00:02:19,000 --> 00:02:23,000
benefits from all of the encryption implemented by the Tor network.

33
00:02:23,000 --> 00:02:27,000
Therefore, it's more private, more secure and more anonymous.

34
00:02:28,000 --> 00:02:32,000
Now doing this is actually very, very simple entails.

35
00:02:32,000 --> 00:02:33,000
So let me show you.

36
00:02:33,000 --> 00:02:35,000
I'm back at my file manager.

37
00:02:35,000 --> 00:02:39,000
I have the picture or the file that I want to share right here.

38
00:02:39,000 --> 00:02:46,000
And all you have to do is right click this file and click on Share via Onionshare.

39
00:02:47,000 --> 00:02:51,000
As you can see, this will open the onion share window for you.

40
00:02:52,000 --> 00:02:59,000
You can see the file that I selected is already in here and you can click on Add files to add more files

41
00:02:59,000 --> 00:03:04,000
to share with a specific person and you can use the delete to delete files.

42
00:03:05,000 --> 00:03:10,000
Once you're happy with the files that you want to share, we're going to click on Start Sharing.

43
00:03:10,000 --> 00:03:16,000
And right now, when you see the yellow.in here, this means that Onionshare is creating and starting

44
00:03:16,000 --> 00:03:20,000
the onion service that will share the files for you.

45
00:03:20,000 --> 00:03:22,000
So you want to be patient with this.

46
00:03:22,000 --> 00:03:23,000
It might take some time.

47
00:03:24,000 --> 00:03:31,000
And once this is done, as you can see, the circle will turn green and you will see a link to a hidden

48
00:03:31,000 --> 00:03:31,000
service.

49
00:03:31,000 --> 00:03:37,000
So you can see this looks very, very similar to the links that we use when accessing Darknet websites.

50
00:03:38,000 --> 00:03:45,000
You can click on copy URL to copy it and then you can share this link with anybody that you want to

51
00:03:45,000 --> 00:03:46,000
share the file with.

52
00:03:46,000 --> 00:03:51,000
So you can send it via email or you can send it using an instant message.

53
00:03:51,000 --> 00:03:54,000
So I'm going to go to a second computer.

54
00:03:54,000 --> 00:03:58,000
We're going to pretend that this is the recipient computer.

55
00:03:58,000 --> 00:04:00,000
I'm going to paste the link in here.

56
00:04:01,000 --> 00:04:09,000
Now keep in mind this is a hidden service or an onion service link, so it can only be accessed using

57
00:04:09,000 --> 00:04:14,000
the Tor browser or using a computer that is configured to use the TOR network.

58
00:04:14,000 --> 00:04:19,000
So this service is only accessible within the TOR network.

59
00:04:19,000 --> 00:04:24,000
As you can see, once this loads, you will get a very simple page.

60
00:04:24,000 --> 00:04:29,000
It has the file name, it has the size, and if you click on download it will download the file for

61
00:04:29,000 --> 00:04:34,000
you and this will automatically go to the Tor browser directory.

62
00:04:34,000 --> 00:04:37,000
I'm going to click on Save and Perfect.

63
00:04:37,000 --> 00:04:42,000
The download is complete and we can verify this by going here.

64
00:04:42,000 --> 00:04:46,000
And as you can see, we have the image that we wanted to share.

65
00:04:48,000 --> 00:04:55,000
Now, if you actually go back to the computer that started sharing, you will see that in the status

66
00:04:55,000 --> 00:04:55,000
bar.

67
00:04:55,000 --> 00:05:00,000
It's telling us stopped sharing the file automatically because someone has downloaded the file.

68
00:05:00,000 --> 00:05:06,000
So now if anyone tries to access this link, this page will not load.

69
00:05:07,000 --> 00:05:11,000
Therefore, you have full control over the files that you want to share.

70
00:05:11,000 --> 00:05:15,000
You can start and stop sharing them any time you want.

71
00:05:15,000 --> 00:05:21,000
The files will not be placed in any computer that you do not have control on, so it will only be placed

72
00:05:21,000 --> 00:05:27,000
on your computer and you'll benefit from towards anonymity and privacy.

73
00:05:27,000 --> 00:05:32,000
Therefore, this is a much more private method of sharing sensitive files.

