How to Deny Access to Files or Folders in Windows Vista

By Lowell Heddings on July 10th, 2008

This is a guest post by Abhishek Bhatnagar from www.technixupdate.com, a blog covering Computer tips and tricks.

Most of us use our computers in a shared in environment with our family members, friends etc. But sometimes we may want set some permissions so that we can actually restrict access to certain folders which do not lie in our My Documents, My Pictures etc.

In this case when you can restrict access to a particular folder which could be any where on your hard drive.

Set File or Folder Security

Right click on the folder which you want to block from other users and select Properties.

folder-properties 

Now click the Security tab in the folder properties window, and then click the Edit button.

folder-properties[3]

Click on the Add button to open the “Select Users or Group” window.

security-permissions

Now you can enter the username of the account for which you want restrict access in the text box (Use the “Check Names” button to validate)

  select-users 

or

if you are not sure about the username then click the Advanced button, which opens the search window.

search-users

To search all users click the Find Now button and then locate the user which you want restrict access to the folder and click OK. Now, you will see the username listed in the Security Permissions window, click on the username to select.

guest-blocked

Select the Deny Permissions for that user by checking the Deny box for Full Control.

deny-security-permissions

Now, you will be shown a Windows Security message which in short says that Deny entries always override the allow permissions. Click Yes, and then click OK.

windows-security 

In this way you have restricted access to the folder for a particular user (in my example it was a guest user account in Vista).

Tip: You can also restrict access to all the users in vista type Everyone as the username, but this will also include your account as it is also a part of Everyone user group.

Subscribe to More Computer Tips and Tricks like this from TechnixUpdate

Editor’s note: The files and folders within your user directory should already be off-limits to other regular users on your computer. Of course, if the other users are administrators, they can always reset any of these permissions, including deny. The main reason to use this technique would be if you are trying to remove access to folders on another drive, for instance hiding sensitive documents from children, etc. Just make sure those user accounts don’t have administrator access.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 07/10/08
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!