This is a guest post by Abhishek Bhatnagar from www.technixupdate.com, a blog covering Computer tips and tricks.
这是来自Abhishek Bhatnagar的来宾帖子,来自www.technixupdate.com ,该博客涵盖了计算机的技巧和窍门。
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.
右键单击要阻止其他用户访问的文件夹,然后选择“属性”。
Now click the Security tab in the folder properties window, and then click the Edit button.
现在,单击文件夹属性窗口中的“安全性”选项卡,然后单击“编辑”按钮。
Click on the Add button to open the “Select Users or Group” window.
单击添加按钮以打开“选择用户或组”窗口。
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)
现在,您可以在文本框中输入您要限制访问的帐户的用户名(使用“检查名称”按钮进行验证)
or
要么
if you are not sure about the username then click the Advanced button, which opens the search window.
如果不确定用户名,请单击“高级”按钮,这将打开搜索窗口。
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.
要搜索所有用户,请单击立即查找按钮 然后找到要限制访问该文件夹的用户,然后单击“确定”。 现在,您将在“安全性权限”窗口中看到用户名,单击用户名进行选择。
Select the Deny Permissions for that user by checking the Deny box for Full Control.
通过选中“完全控制”的“拒绝”框,选择该用户的“拒绝权限”。
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安全消息,简言之是,拒绝条目始终覆盖允许权限。 单击是,然后单击确定。
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).
这样,您可以限制特定用户对文件夹的访问(在我的示例中,它是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.
提示:您还可以限制以Vista类型“所有人”作为用户名访问所有用户,但这也将包括您的帐户,因为它也是“所有人”用户组的一部分。
Subscribe to More Computer Tips and Tricks like this from TechnixUpdate
从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.
编者注 :您的用户目录中的文件和文件夹应该已经禁止计算机上的其他普通用户使用。 当然,如果其他用户是管理员,则他们总是可以重置所有这些权限,包括拒绝。 使用此技术的主要原因是,如果您要尝试删除对其他驱动器上的文件夹的访问权限,例如对子项隐藏敏感文档等,则只需确保这些用户帐户没有管理员访问权限即可。