Compare and Contrast Different Methods of Sharing and Storage

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
8 hours 53 minutes
Difficulty
Beginner
CEU/CPE
11
Video Transcription
00:03
welcome back to domain for networking, and we're now at Module 4.3.
00:10
Compare and contrast, different methods of sharing and storage.
00:15
So here we're going to look at sharing off files across the network, and we'll see that there's a variety of methods available. Http ftp and so on.
00:26
We'll talk about how files can be stored.
00:28
They can either be stored locally or hosted on remote servers.
00:33
We'll also talk about something called peer to peer networks
00:36
on and
00:37
well, look at printing
00:39
both setting up local printers and setting up network printers and connecting two printers across the network.
00:51
File sharing was one of the first uses off computer networks,
00:55
and the benefits of file sharing include the following.
01:00
By sharing a file onto the network, the user can easily distribute, say, a document to multiple uses on the network.
01:07
They can allow collaboration on documents, so if a document is stored centrally somewhere on the network,
01:14
many different users can access it updated, make changes to it and so on.
01:19
You can also have a central location of the network where you store your files, and those could be easily backed up by, say, your network administrators,
01:27
and we could also use it to distribute applications to users or customers
01:33
these days. For example, many times when you're buying a new program and application,
01:38
you're actually using a download. So you're downloading off the Internet rather than purchasing a physical CD or DVD,
01:46
so that an example of using file sharing to distribute applications
01:52
and one of the most common uses of this or that people don't often think of this as file sharing is websites and Web pages.
02:00
Ultimately, a Web page is just a collection of files.
02:04
Your browser connects to the Web server, and it downloads all the parts that make up a particular page, and then it formats and displays that to you within the browser.
02:13
For example, if you see several pictures on a Web page, each is usually a separate file that has been downloaded from the Web server.
02:21
So there again, that's a former file sharing. That website is made up of a number of files, and those are that made available to anyone who connects to that website.
02:34
One thing you do have to worry about that when sharing files onto the network is security
02:39
now in order to keep things secure. You can set permissions whenever you share files. And those permissions can prevent unauthorized users from accessing the files, downloading them, opening them and so on.
02:53
Um, they can also be used to say what you can do with the file.
02:57
For example, I could use the permissions to say users can only read the file If it's a document, or if it's an executed ble, they can execute the file. But I can prevent them from making any changes to the files if I want.
03:12
The other thing to think about is this. When the file is being downloaded across the network,
03:17
is it protected?
03:19
Ideally, any file should be encrypted before it is sent across the network. So there is a malicious actor on the network whose may be capturing your network traffic.
03:29
They can't read the contents or what you're actually sending across the network.
03:35
If a file is encrypted, of course, at the other end, it is decrypted by the receiving system.
03:43
Most of the older protocols that were used for file transfers were insecure.
03:47
In other words, they did not encrypt files before sending them across the network,
03:52
and that is true of http, and it's true of FTP as well as we will see,
03:59
one of these simplest ways of downloading the file is to click a link on a webpage.
04:04
In that case, either http or https could be being used.
04:10
If http is being used, that is an unencrypted connection,
04:15
and the file that you download from the Web site travels unencrypted across the Internet.
04:19
Now, of course, that may or may not be a problem. If it's a public document you're downloading, then you don't care if somebody is reading the contents of the packets.
04:30
If it's an application you're downloading, you probably don't care either.
04:33
But what if it's a sensitive document that you're downloading? In that case, you would like it to be encrypted
04:41
now to ensure a secure download that is encrypted. You have to use https,
04:46
but the problem is
04:48
that you may not realize which is being used,
04:51
and normally you don't see a choice on a Web page like you never see a link that says, Here, this uses a cheeky P, and this other link over here uses https. We don't get that choice usefully.
05:04
So who is controlling that while whoever created the website, the owner of the website, decides whether that link is http or https,
05:14
Unfortunately, there is a way of finding out which protocol will be used on. We'll have a look at that next.
05:25
So here is a Web page that offers a download,
05:28
but instead of left clicking on it, I'm going to right click on the link
05:32
and then I'm going to copy.
05:34
It's a dress,
05:49
and then I'm going to paste it into note pad,
05:58
and if you look here, you'll see it's using H T T. P s.
06:02
So that would be a secure, encrypted download.
06:08
So now I can left click on it and it begins to download
06:18
now. One protocol that was commonly used for doing file transfers in the early days of the Internet was FTP file transfer protocol.
06:27
As you can see, it's been around since the 19 eighties,
06:30
and this was often used to download files from any server that was configured as an FTP server,
06:36
and in some cases you could also upload files to the FTP server.
06:41
One big advantage of FTP is it supported by a variety of operating systems. So for example, if my client computers running windows,
06:50
but the server right is you're running UNIX.
06:54
They're two completely different operating systems, but
06:57
they probably both support the use of FTP
07:00
so I could connect from the Windows machine to the UNIX machine, and I could download and upload files to it using FTP.
07:08
But FTP is insecure,
07:11
the files that you upload and download and the commands you send across the connection. I'm not encrypted,
07:17
and
07:18
if it requires you to log in
07:21
and you type in your username and password,
07:25
that also is set in plain text across the network. And in many cases that's actually worse, then the fact that the file is not encrypted because if your credentials are not encrypted, anybody who is snooping on the network using a tool like a packet sniffer that picks up and examines the contents of network packets,
07:45
they would actually see your log on name and your password in plain text within the appropriate packet.
07:51
So that's the big problem that not only are the contents of the file exposed as they travel across the Internet, but so your credentials, if you were required to log it
08:01
and a malicious user would have possibly captured that and be able to read the contents of the file and see your user name and password.
08:16
So one way about ING security to an FTP connection is to combine it with SSL
08:20
much in the same way as we combine. Http with that's a cell to give us a secure connection to a website,
08:28
So
08:31
F. T. P s is the use of ftp onda as a cell. Together,
08:37
this is a widely supported mechanism
08:39
and provides secure authentication and encrypted connections.
08:52
There is another alternative, and that is the use of secure shell with F d. P.
08:58
Secure Shell was originally designed to allow remote administration of UNIX servers, but in a secure, encrypted connection, so that too can be combined with FTP, in which case is referred to as sftp
09:11
rather than F. D. P s, which we saw in the previous slide.
09:18
So this now be extended to support file transfers,
09:22
and this is widely supported in the UNIX world. So it provides encryption. It provides secure authentication. In other words, it does not expose your credentials over the network
09:33
on is more flexible in terms of the commanded offers, then ftv ESTs.
09:39
So which should you use? Well, once again, just as with at http and https, it may not be up to you. Which one you use.
09:48
It is typically dependent on the FTP server that you're connecting to. It may either support as FTP or F T. P s, in which case you have to use whichever one it supports. Technically, though, sftp has an edge in the strength of the security mechanisms used if you do have a choice.
Up Next
Instructed By