Preventing File Modification
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 »

Video Transcription
00:01
If you have created a file, or if you need to preserve a file, you need to be able to control who can open the file, who can make changes to it, who can delete it. And so on
00:11
early operating systems. The art is, for example, DOS or the first few versions of Windows.
00:19
They used a file system for formatting, the hard drive that was called fat file allocation table.
00:26
This did not have the ability to set permissions on files and folders. As a result, anybody could access anything thatwas on that hard drive. And in other words, there was really no security for your files and folders.
00:41
It did have something called the read only attribute, so you could go into the properties of a file and you could check the box to make it read. Only
00:49
the problem with that was it wasn't really a way off implementing security, because if anybody wanted to make changes to your file or delete it,
00:58
all they had to do was repeat the steps going to the properties of the file and uncheck the read only attribute.
01:04
When Microsoft released Windows and T as an operating system and Windows NT is really the ancestor off
01:11
the current operating systems, like Wood Knows 10
01:15
and Server 2012 and served 2016.
01:19
So that
01:19
anti, when it was first released, introduced a new file system called NT F s, which stands for new technology file system.
01:29
And what this did was it gave you the ability to set permissions on individual files and folders
01:34
so you could restrict
01:37
who could access them
01:38
so you could list users and groups who had access to the file
01:42
or folder
01:42
and what permissions they had.
01:46
So you could say, You know, one user can read the file and another user can modify the file on. The third user has full control so they could do everything, including deleting a file
01:57
Lennox to has a file system called the X T. And this also supports setting permissions as well.
02:10
Let's look at a couple of ways off preventing users from modifying a file. A very simple way of doing this is to go into the properties of the file
02:22
on DDE.
02:23
Check this box read only,
02:27
and then click. Okay,
02:30
so now if somebody opens the file
02:34
on to make some changes to it
02:38
and they try and save the changes.
02:42
Windows says. You can't do that
02:45
because if you look at this dialog box, what it's saying is save. As
02:49
so what is telling me is I have to save it under a different name
02:52
so the original will still be intact and
02:54
the changes are made would be saved in a new file.
03:00
Of course,
03:04
if somebody wants to get around that
03:06
all they have to do is right. Click on it,
03:07
go to its properties,
03:09
and I'm check the box.
03:13
So although this is a kind of security, it's a very primitive type of security.
03:20
So now let's look at somewhat more sophisticated mechanism for protecting your files,
03:24
and this is referred to as NT F s permissions.
03:30
So in the properties of a file or folder,
03:32
you'll see that there is a security type.
03:36
Security tab lists what permissions have been given for this file.
03:39
So, for example, because I created the file, I have full control over it. I can do everything to it, including deleting it or modifying it.
03:49
Also, the administrators group has been given full control,
03:53
but currently nobody else actually has access to the files
03:57
to give them access, but to prevent them from maybe making changes to it. I can do this.
04:02
I can click at it
04:04
ad
04:06
unless out a group called everyone
04:12
and then for everyone.
04:15
I can check the boxes here to indicate what permissions they have.
04:18
So, for example, I can say yes. They have the reed permission
04:23
hand
04:24
now, Do I want them to be able to modify it? Because if I do, I can give them the right permission as well.
04:30
But if I don't want them to be able to modify it,
04:33
I can uncheck that box.
04:35
So this point I have full control so I can do anything I like with the file.
04:41
The administrative group. Anyone who is an administrator also has full control,
04:46
and everyone else
04:48
has only got read access to the files.
04:53
The same types of permissions are available for folders as well.
04:58
So here's a folder. I can go into its properties,
05:02
and it too has a security type.
05:04
And this is where you can set up permissions.
05:08
So again, I can edit, add and remove from the list, check the appropriate boxes and set up permissions that way.
05:18
Now Obviously, NDF s permissions are far more sophisticated than that. Read only check box
05:26
and tear fest permissions allow you to have very granular sets of permissions where you can differentiate between different users and groups to say this user or this group can do the following things with this viral folder.
05:39
The reason they're called anti infest permissions is because NT f s permissions are only available. If you have formatted your drive with a file system called ante F s,
05:48
their formatting and NT f s are beyond the scope of this course. But if you go on to say a plus and that work plus courses,
05:58
then we'll get into NT F s permissions in far more detail.
06:02
So just to summarize, either you can modify the read only attribute. But the problem with that is, is that anybody can uncheck it
06:12
or you can change the India fest permissions on the file or folder in order to control access to it.
06:21
So far we have been looking at using the graphical interface primarily with the mouse, and that's how most of us do operate with it.
06:31
But it is quite possible to do many, many operations without using the mouse. Because most operating systems have a number or keyboard shortcuts that you can use
06:43
in windows. This often involves the control key
06:46
in conjunction with other keys. For example, if I hold down the control key plot and plan and press see
06:53
control plus C means copy.
06:55
If I hold down control and press X, that means cut.
07:00
If I hold down control and plus Press V, that means paste
07:03
control plus Z means reverse the last operation.
07:09
So there are those, but there are actually lots of lots of lots of harm.
07:13
Keyboard shortcuts. You can go online and get listings of all the keyboard shortcut, supported by Windows and supported by other operating systems like OSX, Lennox and so on.
07:30
There are a number of keyboard shortcuts you could use to work with windows.
07:34
Sometimes it's faster to use those than keep moving your hand from the keyboard to the mouths and back again.
07:42
You could search online for keyboard shortcuts for Windows
07:46
on DDE.
07:47
Here, you'll see I've got the keyboard shortcuts for Windows 10 popping up. You can also find keyboard shortcut for earlier operating systems.
08:00
Let's have a look at the first few ones listed here.
08:03
Now, when you see control
08:05
or court
08:09
as part of the key combination,
08:11
this is referring to the key that are on either side of the space bar on your keyboard.
08:18
Possibly one of the most common key combinations is old plus tab.
08:22
Every time I press that key combination windows cycle through all open windows, letting me select the window I want to work with.
08:31
So I'm gonna do that now
08:33
and switch over to this folder.
08:37
I'm gonna do it again
08:39
and open up. This followed up.
08:41
So now you can see two folders, one of which is full of files on the other one is empty.
08:48
Something has switched back
08:50
to the first folder
08:52
and then I'm gonna use the following key combinations.
08:54
Control a
08:56
select everything in the folder
09:00
controlled si
09:01
copies at all
09:03
or tabs allows me to switch to the empty folder
09:09
Control V
09:11
pastes everything in there.
09:13
So I've just copied all those fires from one window to another without touching the maps at all.
09:18
Also remember that Control plus Z will reverse the last operation.
09:26
What is also interesting is that the same key combinations work within applications as well.
09:33
So, for example, here I've got a note pad open on. I could take a bit of text selected copy and paste if and I don't do it.
09:41
So I'm gonna press come trouble, eh?
09:43
To select all the text
09:46
control C to copy it
09:48
and then control V to paste it.
09:50
And then again controlled Zi
09:54
I'm just the move.
09:56
If you want to do a cut and paste rather than a copy and paste, you can use control X instead of control. See,
10:05
there are also key combinations that used the Windows logo key.
10:09
If you look down on your keyboard with, it's a keyboard design for PCs,
10:13
you should see between the control and the old turkey. There's a Windows logo key,
10:18
so 12 combination that's very useful here is the windows keep plus owl,
10:26
and what that does is very quickly locks your workstation.
10:30
So, for example, if you're about to go for a coffee break, just hit Windows Key plus l that will lock your work station and then you can come back and walk back in
10:41
so you might want to spend a little bit of time looking up thes keyboard shortcuts and also memorizing some of the most common ones. They may well come up in the exam.
10:58
You may also want to look up some of the
11:01
keyboard shortcuts available in other operating systems, such as, Oh, it's axe on dhe Lennox. So again, you can simply search on the Internet for in this case, I searched for
11:13
OS X keyboard shortcuts.
11:20
One other use soft keyboard shortcuts that camped here. Particularly mentions in the syllabus for the exam is the print screen key.
11:30
If you look down on your keyboard towards the top right hand side next to the F 12 key,
11:35
you should see a key marked either print screen or print screw with the vowels missing or print screw or something similar.
11:43
So what that will do is capture everything that's on the desktop,
11:48
so you can then post paste that into any application that accepts graphic input so I could copy everything that's on the screen and paste it into a
11:58
Microsoft paint. Or I could even paste it into programs like Power Point or Microsoft Word. If I need to show what was on the screen at any given time
12:09
now, sometimes you don't want to capture the whole screen. Sometimes you just want to capture the active window, the window you're actually interacting with. And that can be done by holding down the altar key on the keyboard,
12:20
the old keys next to the space bar
12:24
and then pressing the print screen key.
12:26
So let's have a look at all of that in action.
12:31
Sometimes it's useful to be able to take snapshots off what's on your screen.
12:37
There are a couple of keys on your keyboard you can use, and
12:41
if you look carefully on your keyboard, if you have one in front of you, you see that's a key over towards the right hand side
12:48
at the top near the F 12 key.
12:50
There is a print screen key
12:54
when you press that
12:56
that will capture a copy of everything that's on your desktop.
13:01
So let's try that. I'm gonna hit print screen right now
13:05
that I'm gonna open up
13:07
paint
13:07
and paste it
13:11
and you'll see it captured everything that was on my dad stop
13:15
and it's now saved as an image within paper.
13:18
We close that
13:20
I could have put this point if I wanted to save it but I'm not going to.
13:26
And
13:26
let's look at this.
13:28
Sometimes you don't want to capture the whole of your desktop.
13:31
We just want to capture what's going on within one particular window.
13:35
So here we have a window
13:37
and it's a three D drawing program,
13:43
and I want to capture the content of just what's in this window.
13:46
So for that, the key presses Ault print screen,
13:50
So we already found the print screen keys over towards the top right of your keyboard.
13:56
The old key is next to the space bar near the bottom of the keyboard.
14:01
So what I'm going to do now is hole down the Yorkie
14:03
and press print screen.
14:07
Now the contents of that window have been captured.
14:11
Let's open up paint again
14:16
and pay studied.
14:20
And so now there's the contents solved. That particular window has been captured
Up Next
Instructed By
Similar Content