• NTFS Permissions
  • Share Permissions
  • Share and NTFS Permission Similarities 共享权限和NTFS权限的相似性
  • Modifying Share and NTFS Permissions修改权限
  • Combining Share and NTFS Permissions组合共享权限和NTFS权限

NTFS Permissions

NTFS permissions apply to any file or folder on a disk that has been formatted with NTFS.

NTFS权限应用于使用NTFS文件系统格式化的磁盘上的任何文件或文件夹.

Read

When a user is assigned Read permission, the user is allowed to view the contents, permissions, and attributes associated with a fi le or folder.

允许用户查看文件、文件夹内容、权限和属性。

Read & Execute

The Read & Execute permission is used to grant permission for a user to execute fi les. 执行文件的用户授予权限。

Any executable fi les (such as .exe, .bat, and .com) are files that can be executed or launched. If a user has only Read permission, and not Read & Execute, the fi les can’t be executed.

任何可执行的文件都可以执行或启动的文件。

如果用户只有read权限,没有read&Execute权限,你们用户无法执行文件。

List Folder Contents

The List Folder Contents permission allows a user to view the contents of a folder. 允许用户查看文件夹的内容.

It will allow a user to see that fi les exist in a folder but will not apply Read permissions to those fi les.

允许用户查看文件夹中存在的文件,但是不会向这些文件应用read权限。

Write

If a user is assigned Write permission to a fi le or folder, the user can modify the fi le or folder. This includes adding new fi les or folders to a folder or making changes to existing fi les or folders. However, it does not include deleting fi les from a folder.

用户可以修改文件或文件夹,包括向文件夹中添加新文件或文件夹,或更改现有的文件或文件夹。

不能从文件夹中删除文件

Modify

Modify includes all of the permissions from Read, Read & Execute, and Change and adds the ability to delete fi les and folders.

包括read、read&excute和change中的所有权限,还拥有删除文件和文件夹的能力.

Full Control

Full Control is a combination of all the available permissions. It adds the ability to change permissions and take ownership of fi les or folders.

所有权限的组合,更改权限以及取得文件或文件夹所有权的能力。

Share Permissions

Share permissions apply to shares only when they are accessed over the network. There are only three share permissions:

共享权限应用于通过网络访问的共享:

Read

Users granted Read permission can read fi les and folders within the share.

读取共享中的文件和文件夹

Change

Users granted Change permission can read, execute, modify, and delete fi les and folders within the share.

可以读取、执行、修改和删除共享中的文件和文件夹.

Full Control

Users granted Full Control permission have all the permissions from Change and can also modify permissions on the share.

拥有来自change的全部权限,还可以修改共享上的权限

Share and NTFS Permission Similarities 共享权限和NTFS权限的相似性

Now that you have a basic understanding of the overall NTFS and share permissions, it’s easier

to explore the similarities, and there are many. These include:

◆ Both can be assigned either Allow or Deny.都可以分配Allow或者Deny

◆ Both are cumulative.都可以积累

◆ Deny takes precedence with both.Deny都取得优先

◆ Both support implicit deny.都支持隐式拒绝。

一、Assigning Allow or Deny

As you start working with permissions, you’ll notice that they have both Allow and Deny check boxes for each of the listed permissions. Here’s an overview of how they work:

◆ If the permission is set to Allow for a user or group, the user or group has this permission.

◆ If the permission is set to Deny for a user or group, the user or group does not have the permission.

◆ Permissions are cumulative权限是累积的. If a user has multiple Allow permissions assigned (such as Allow Read and Allow Change), the user has a combination of the assigned permissions各个权限的组合.

◆ If both Allow and Deny permissions are assigned for a user, Deny takes precedence.Deny优先.

If there aren’t any permissions assigned to a user, then the user does not have access to the object. This is referred to as an implicit deny.

如果没有和用户指派任何权限,用户无法访问这个对象,这就是隐式拒绝。

Both share permissions and NTFS permissions use the discretionary access control (DAC) model to control access.

共享权限和NTFS权限都使用资助访问控制DAC模型来控制访问。

Each object has a discretionary access control list (DACL, pronounced “dackel”). The DACL is a list of access control entries (ACEs).

每个对象都拥有一个自主访问控制列表DACL。DACL是一个访问控制项ACE的列表。

Each ACE identifi es a user or a group with their associated security identifi er (SID) and Allow or Deny permission. Any object can have multiple ACEs in the DACL; said another way, any object can have multiple permissions assigned.

每个ACE使用和用户或组关联的安全标识符SID以及Allow或Deny权限来标识用户或组。

在DACL中,任何对象都可以拥有多个ACE。也就是说任何对象都可以指派多个权限。

When a user accesses a fi le, folder, or share, the operating system compares the DACL with the user’s account and group memberships. If there’s a match, the user is granted the appropriate permission.

二、累积权限Cumulative Permissions

三、Deny Takes Precedence

四、Implicit Deny隐式拒绝

Modifying Share and NTFS Permissions修改权限

Combining Share and NTFS Permissions组合共享权限和NTFS权限

当用户通过共享访问文件或文件夹时,识别用户拥有的权限有时候会存在挑战.

People sometimes fi nd it challenging to identify the permissions a user will have when they access a fi le or folder via a share. We like to keep it simple with these three steps:

1. Determine the cumulative NTFS permissions.确定累积NTFS权限

2. Determine the cumulative share permissions.确定累积共享权限

3. Determine which of the two provides the least access (commonly called the most restrictive permission).确定那个权限提供最少的访问(通常称为最受限制权限)

Imagine that Sally is a member of the G_Sales and G_ITAdmins groups. The assigned permissions for the SalesData folder (shared as the SalesData share) are shown in Table 13.2.

In step 1, you need to determine the cumulative NTFS permissions.

Sally has the Read, Read & Execute, and List Folder Contents permissions as a member of the G_Sales group.

Additionally, she has Full Control permission as a member of the G_IT SalesAdmins group.

Since Full Control includes all the other permissions, her cumulative NTFS permissions are Full Control.

In step 2, you need to determine the cumulative share permissions.

Sally has the Read permission as a member of the G_Sales group.

Additionally, she has the Change permission as a member of the G_IT SalesAdmins group.

Since Change includes both Read and Write, her cumulative share permissions are Change.

The last step involves a simple question. Which permission provides the least access or is the most restrictive: Full Control or Change?

The answer is Change.

Change is the permission that Sally will have if accessing the share over the network.

How about a trick question? What is Sally’s permission when she accesses the SalesData folder locally?

The answer is Full Control.

Remember that share permissions apply only when a user accesses the share over a network.

If the folder is accessed locally, only NTFS permissions apply.

Share permissions are applied when a user accesses a fi le or folder across the network, but they are not taken into consideration when a user accesses those resources locally, as they would be when sitting directly at the computer or when using resources on a terminal server. NTFS permissions, in contrast, are applied no matter how a user accesses those same resources, whether they are connecting remotely or logging in at the console. So, when accessing files locally, only NTFS permissions are applied. When accessing those same fi les remotely, the sum of both share and NTFS permissions is applied by calculating the most restrictive permissions of the two types. For more information about NTFS, see Chapter 13, “Files, Folders, and Basic Shares.”

Share and NTFS Permission的更多相关文章

  1. [转] NTFS Permission issue with TAKEOWN & ICACLS

    (转自:NTFS Permission issue with TAKEOWN & ICACLS - SAUGATA   原文日期:2013.11.19) Most of us using TA ...

  2. 树莓派+移动硬盘搭建NAS服务器

    由于树莓派的USB接口不足以给移动硬盘供电,因此需要另外给移动硬盘提供电源. 显示当前已有的存储设备 # fdisk -l Disk /dev/mmcblk0: 7876 MB, 7876902912 ...

  3. 【转】RHCE 7系列—RHCE考试

    本篇主要以RHCE练习题为线索,介绍其中涉及的知识点. 红色引用的字为题目要求(不是正式题目,难度略低于正式题目) In serverX or desktopX 1. (lab teambridge ...

  4. pdf2htmlEX安装和配置

    1.下载 安装的依赖: sudo yum install cmake gcc gnu-getopt java-1.8.0-openjdk libpng-devel fontforge-devel ca ...

  5. How to install Samba server on Ubuntu 12.04

    Part 1: Configuring anonymous share with samba server To install the samba package,enter the followi ...

  6. 树莓派挂载移动硬盘开启samba

    本文参考 [https://blog.csdn.net/u010906068/article/details/38455363],原文部分步骤在我的树莓派上,可能是版本不同吧,进行了修改后部署成功 一 ...

  7. jenkins网页报错,Unable to create the home directory ‘/usr/share/tomcat7/.jenkins’. This is most likely a permission problem

    cd /usr/share/tomcat7 sudo mkdir .jenkins sudo chown tomcat7:nogroup .jenkins 执行以上操作,重启解决

  8. NTFS 权限讲解 ACL

    节选自:Securing Windows Server 2003 4.1 Protecting Files with NTFS File Permissions The primary techniq ...

  9. Linux操作系统内核编译之NTFS文件系统模块支持案例

    Linux操作系统内核编译之NTFS文件系统模块支持案例 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.内核编译概述 单内核体系设计.但充分借鉴了微内核设计体系的优点,为内核引 ...

随机推荐

  1. SQLyog之MySQL客户端的下载、安装和使用(普通版)

    本博文的主要内容有 .SQLyog的下载 .SQLyog的安装 .SQLyog的使用 前期,安装这个,不多说 MySQL Server类型之MySQL客户端工具的下载.安装和使用 1.SQLyog的下 ...

  2. 【Android界面实现】View Animation 使用介绍

        转载请注明出处:http://blog.csdn.net/zhaokaiqiang1992     我们能够使用view animation 动画系统来给View控件加入tween动画(下称& ...

  3. atitit.php中的dwr 设计模式

    atitit.php中的dwr 设计模式 1. dwr的优点相对于ajax来说.. 1 2. DWR工作原理 1 3. php的dwr实现 1 4. 参考 3 1. dwr的优点相对于ajax来说.. ...

  4. C++语言基础(22)-转换构造函数和类型转换函数

    一.转换构造函数 将其它类型转换为当前类类型需要借助转换构造函数(Conversion constructor).转换构造函数也是一种构造函数,它遵循构造函数的一般规则.转换构造函数只有一个参数. # ...

  5. HDU 1867 A + B for you again(KMP算法的应用)

    A + B for you again Time Limit: 5000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Othe ...

  6. c# 多线程里面创建byte数组发生内存溢出异常求解

    在多线程里面读取一个400多M的Xml文件,首先将其读入FileStream里面,然后,在执行 byte [] bts = new byte[fs.Length]; 这句代码时,出现内存溢出的异常,求 ...

  7. linux学习笔记10---命令nl

    nl命令在linux系统中用来计算文件中行号.nl 可以将输出的文件内容自动的加上行号! nl命令读取 file 参数(缺省情况下标准输入),计算输入中的行号,将计算过的行号写入标准输出.在输出中,n ...

  8. WebService 页面重定向错误

    “/”应用程序中的服务器错误. 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败. xxx.xxx.xxx.xxx:xx 说明: 执行当前 Web 请求期间,出现未经处理的异常.请 ...

  9. TCP/IP详解读书笔记:ARP-地址解析协议

    地址解析为两种不同的地址形式提供映射:32bit的IP和数据链路层使用的任何类型的地址. 当一台主机把以太网数据帧发送到位于同一局域网的另一台主机,是根据48bit的以太网地址而不是IP地址.设备驱动 ...

  10. mongodb数据库安装与卸载

    此处以centos下monggodb3.4版本安装为例,可参考官网安装教程 步骤如下: 1.配置mongodb ym源 vi /etc/yum.repos.d/mongodb-org-3.4.repo ...