Changing User Permissions for a File

Written by Barry Dysert (last updated November 25, 2019)

In Windows, every file has an associated security profile that determines who is allowed access to the file, and what kind of access (e.g., read or write) a user is entitled to. If you are an administrator or have Control access to the file, you can change the file's permissions, thereby allowing or denying certain types of access to the file.

To see a file's permissions, right-click on the file and choose Properties. Windows displays the Properties dialog box, in which you should display the Security tab. (See Figure 1.)

Figure 1. Permissions of

This particular screen shot shows that for user "Test", they have Read & execute, List Folder Contents, and Read access to the file "a.xlsx". To deny that user access to "a.xlsx", click the Edit button, and again select user Test. You then have the option to change the permissions. (See Figure 2.)

Figure 2. Editing permissions of

Using the controls in the Permissions dialog box you can modify what the selected user or group can do with the file. For instance, if you want to stop the Test user from opening the a.xlsx file, all you need to do is click the checkboxes in the Deny column for both Read & Execute and Read. When you apply the changes, any subsequent attempts by the Test user to open the file result in an error message. (See Figure 3.)

Figure 3. User Test's denial of access to

 This tip (5827) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Clearing Items from the Recently Used Documents List

You may wish to clear your Recently Used Documents list or even have them not remembered in the first place. How you ...

Discover More

Using Your Own Pictures as Wallpaper

You can change the image that is displayed for your desktop background to your own picture. Changing the wallpaper to one ...

Discover More

Ending a Process Using the Task Manager

One of the many functions of the Windows Task Manager is to allow you to control processes running on your system. If you ...

Discover More
More WindowsTips

Using the DiskPart Utility

The DiskPart utility is a low-level command-line program that lets you manage disks, virtual disks, partitions, and ...

Discover More

Deleting Files or Folders

Part of managing the files and folders on a system is the need to occasionally delete them. Here's a quick discussion on ...

Discover More

Illegal Windows Names

When it comes to files and folders and naming them in there are restrictions. Knowing what is restricted will help you ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four minus 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips