How to allow or deny permission to a folder in Windows 7
In a multiuser environment more than one user is sharing the same system using their user account in order to reduce the hardware cost for the company. Sometimes in a home also you can create each user account and login to the system with their account. In such type of environment you need to keep the confidential information in a user profile folder so that other user should access the file or folder. You cannot keep the folder apart from your home directory that will be accessibly all the users of the system.
In Windows XP/Vista/7 you can remove the permission for the file or folder that is created by using your account so that other user cannot open the folder even if it is kept outside your directory. It is possible in NTFS file system.
In order to remove access for a specific folder for all the users except your account go to the folder and right click the mouse button on the folder and select properties will open the folder properties Window. Select Security tab from the folder properties Window and it will list all the user who is having permission to the select folder with permission for each of the user account will also be shown the same Window (check the below screenshot).
Click the Edit button from the Security tab. It will open a Permissions for the folder name Window and it will list the folder permission for each users. Here you can modify the permission for the existing users or you add the new user and change the permission to the new user.
Clicking Add button will open Select Users or Groups Window from which we can add a new user which is already exist in the system or if the system is in network then you can add the network domain users and modify the permission to the users. If you know the user name then you type the username under Enter the object names to select and click the Check Names button to verify the name and the click OK button to add the selected user to assign permission for the selected folder otherwise you can search the username from system or from the domain by clicking the Advance button to search and select the user from the domain or you can just click the Find now button will list all the users from the system and as well as the users from the Active directory of the domain and then you can select the user that you want to assign permission to the selected folder (Check the below screenshot).
Once the user is selected and added for the folder, then the assigned user will be listed in the Permissions for Folder name Window and now you can select the added user and select the permission for the user. In order to give full permission to the select folder, you can select Full control under Allow. In order to remove the complete accesses to the selected folder for the specific user select Full control under Deny will remove all the permissions to the selected user. Click the OK button will show a message box with You are setting deny permissions entry... and click the Yes button to apply the permission changes to the selected user.
Now log off and login to the other user which we removed the permission and try to open the specific folder which we removed the permission for the specific user. It will ask for the administrator password to open the folder, using administrator password the user can view the folder otherwise the folder cannot be opened by the user. Any time you can give access to the specific folder by removing the permission using the same permission Window.
Read Difference between Windows XP and Windows 7
This is indeed a great resource. It provides good information on how to remove access to a folder in windows 7 which will be more helpful in security purpose.
Thanks you your valuable comments. I will improve further to post more good resources