-
What you guys, got another video here for
-
you on all you need to know about file
-
and folder permissions inside Windows. And it
-
doesn't really matter whether you're
-
using Windows 7, Windows 10,
-
you know, Windows 11, I'll show you
-
exactly what you need to know. So let's
-
first go into our C root directory here
-
and create a folder.
-
So what we're going to do
-
is create a folder in here say, for
-
instance, work share or something along
-
those lines. And maybe you've got a bunch
-
of people that you want to control
-
what they can look at and what they
-
can't look at on this folder. So right
-
click on it and go to properties.
-
Inside here, we're going to go to the
-
security tab.
-
Once inside here, we're going to click on
-
the edit button. So click on edit
-
and this will open up another window, and
-
from here we're going to click on add. So
-
click add and then we're going to add
-
the everyone to this area here. So let's
-
click everyone in here and then click
-
check name and then click ok.
-
Once we've done this, click apply, ok,
-
and then ok again. And this brings us
-
back to
-
where we was which is the work share.
-
So inside here, we can now create a new
-
folder,
-
and we're going to call this say, for
-
instance, invoice or something along
-
those lines or whatever it is that you
-
want to create your folders for.
-
And this area is where we're going to
-
give access to users, so let's go inside
-
here and right click on this folder and
-
go properties,
-
and then we're gonna go to the security
-
tab.
-
Once you clicked on the security tab, go
-
all the way down to the bottom here and
-
click on
-
the advanced area here.
-
So you should see the advanced security
-
settings for this invoice folder.
-
Click on the disable inheritance on the
-
bottom left. Click on remove all inherent
-
permissions for this object and then we
-
can click on apply and then you should see a
-
windows security popping up here so say
-
yes to this and then click ok and then
-
ok again. Now we've removed all the
-
permissions for this invoice
-
folder here. So if I go clicking on it,
-
it's going to say you don't currently
-
have any permissions to access this
-
folder. That's because we've removed all
-
these permissions,
-
but I can still edit the permissions on
-
this because I'm the administrator, so
-
what I'm going to do here is change all
-
the permissions for the users. So let's
-
go ahead
-
and right click on the folder here
-
and click properties and then go back
-
into
-
the security tab again, and now from here,
-
we can click advanced.
-
In the advanced security settings for
-
this invoice folder, we're going to click
-
on now the add to add some permissions
-
in.
-
So first off, we're going to select a
-
principal
-
and from here, we're going to select
-
our admin account which will be say, for
-
instance, Britec.
-
You can check the name and you should
-
now see this come up on the list here.
-
Yours will probably be called admin or
-
something like that. Click ok and we're
-
going to give the admin full control to
-
modify, read, and execute,
-
and read and write and all that sort of
-
good stuff.
-
Also, we now need to add in another
-
permission for someone else that might
-
be wanting to get access. So select
-
another principal and do a search for
-
users on this PC, so I'm gonna check this
-
name here and there's Sally on here so
-
we're gonna click ok.
-
And we're gonna give her read and
-
execute permissions, this folder contents,
-
and also- I will only give her read
-
permissions as well, no write permission.
-
Click apply and then click ok
-
and that is now done. You can click ok
-
here. So let's
-
check out the permissions by right
-
clicking on the invoice here now and
-
click properties, then go security and
-
you will see the groups and user names
-
for this folder here. And as the
-
administrator, you can edit these, you can
-
see the sort of permissions these users
-
have got.
-
So we can also click on edit here and
-
add more users if we wish by clicking
-
add. Let's say add Jim here,
-
do a check name to make sure he's on
-
here so click ok,
-
and now we can give Jim some permissions
-
as well. So maybe we just want him to be
-
able to see the folder, but he won't see
-
what's inside of it, or maybe you just
-
want to hide it from him and block him
-
from completely accessing that area.
-
So we'll leave it as it is here where it
-
says list folder contents, but you won't
-
be able to see
-
any of the data inside here. Click apply
-
and ok
-
and then we can now click ok again.
-
So we should see now, Jim has got listed
-
folder contents,
-
Sally's got read and execute,
-
listed folder contents, and also she can
-
read it,
-
but she can't edit any of the
-
information in there, only Britec can.
-
So let's create an invoice inside here, so
-
let's go and create a new text document.
-
We'll just
-
call this say, invoice.
-
And then maybe what we'll do is we'll
-
just put some text inside here so you
-
can see how this will work.
-
So let's go ahead and just put this as a
-
test,
-
and we can go ahead and save this
-
document here. And as the administrator, I
-
can create documents, edit documents, and
-
read documents, and I've got full control
-
over this area here.
-
As you can see, I can open things up, and
-
I can also create, delete, and edit these
-
documents.
-
So now let's go ahead and
-
change accounts to say, for instance,
-
Sally and see what Sally can do here. So
-
let's go ahead and change accounts and
-
sign into Sally's account here.
-
And once we get to the desktop, I'm going
-
to go into 'This PC',
-
our C drive, and we should see our work share
-
folder here. So let's go ahead and log
-
into our work share,
-
then go to invoice, and you can see the
-
invoice is here, and, of course,
-
Sally can access it and read it. She can
-
actually see
-
this document and read it,
-
but Sally doesn't have the permission to
-
edit it or delete it or any of that sort
-
of stuff. And that's because we give her
-
the amount of access that she's
-
required to say, read documents, but not
-
edit them or even delete them. So you can
-
see here if she tries to edit this
-
document, it'll say you need to obtain
-
admin permissions to edit this document.
-
So she doesn't have the power to edit
-
them.
-
And even if she tried to delete the file,
-
maybe she wanted to do something
-
mischievous and delete the file, she
-
wouldn't be able to do that because she
-
doesn't have administrative privileges
-
to delete that file.
-
So you can give her access to reading of
-
the document, but you're not giving her
-
access to edit it or even delete it.
-
So that's the permissions that Sally has
-
to
-
look at the files, but she can't do any
-
of the other permissions.
-
So let's change accounts to Jim and see
-
what Jim can do here. So let's go ahead
-
and click on
-
Jim here,
-
and we'll log into Jim's account.
-
Now, Jim can
-
see the contents, we've listed the
-
contents for Jim, but we're not giving
-
him any access
-
to open files up or edit files or even
-
delete files. So let's go back into our C
-
root directory here and look at our work
-
share. You can see the folders because
-
we've allowed him to list the contents,
-
but he can't read even that document
-
because he doesn't have the permissions
-
to even read what's in it.
-
So what this video is teaching you is
-
how to set up permissions for files and
-
folders and users on
-
the computer so you can basically
-
understand how these permissions work.
-
And you can use this for other things
-
like sharing
-
documents and files across the network
-
with other computers as well as users as
-
well. So if you've got stuff on your PC
-
that you don't want someone else to see,
-
maybe it's a family computer, then maybe
-
you want to set permissions for a
-
particular type of folder that you don't
-
want them to be able to access or see.
-
And this is how useful this sort of
-
information is. So let's go back into
-
Jim's account here. If I want to try to
-
edit the permissions myself, I can't
-
because I don't have the permissions
-
to edit this. You need to be the
-
administrator and, of course, you would
-
have a password on that administrator
-
account to stop the person logging into
-
the administrator account and literally
-
changing any of these permissions.
-
So let's log back into the administrator
-
account which is Britec. Now, of
-
course, you would need to have a password
-
on this account to stop anyone logging
-
into it to make changes to
-
those folder permissions here. So I'm
-
going to right click on the invoice
-
folder here as the administrator, and we're
-
going to go to the security tab, and you
-
can see the accounts here that have
-
permissions. I'm going to click on Jim
-
here and click edit. And I'm going to
-
give Jim some permission to do what
-
he wants with this particular folder.
-
So let's give him
-
full control, but you can restrict
-
whatever you want. You can put modify or
-
whatever it is you want to give one
-
person access to on that folder, and it
-
could be an array of folders, drives, or
-
anything like that. So let's go back to Jim now
-
and log in here
-
and see what Jim can do now we've
-
changed to permissions.
-
So remember, Jim's now got full control
-
of this folder here. So let's go in here,
-
invoices,
-
and we can now
-
open up and we delete this file where
-
would before we couldn't do anything
-
with this file. We can edit it, we can
-
read it,
-
we can literally do whatever we like
-
because we've given full permission
-
on that file and on that folder.
-
So that's basically
-
what that does is you need to set
-
permissions for
-
certain files, folders, and drives that
-
you want to give access to
-
for each individual that's using that
-
computer. And this is great for if
-
someone's got a family PC and you've got
-
maybe multiple accounts on that one PC
-
and you want to stop them accessing
-
certain stuff, then this is essential
-
that you set this up. And it's also good
-
to know how to understand and use
-
permissions on a computer.
-
Anyway, that's going to be about it for
-
this video. My name has been Brian from
-
briteccomputers.co.uk. Just
-
want to say a quick shout out to all my
-
YouTube members who have joined my
-
YouTube members group, I really do
-
appreciate the support and I will see
-
you again for another video real soon.
-
Bye for now.
-
[Music]