Share and NTFS Permission
- 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文件系统格式化的磁盘上的任何文件或文件夹.
|
||||||||||||||
|
Share Permissions |
||||||||||||||
|
Share permissions apply to shares only when they are accessed over the network. There are only three share permissions: 共享权限应用于通过网络访问的共享:
|
||||||||||||||
|
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的更多相关文章
- [转] NTFS Permission issue with TAKEOWN & ICACLS
(转自:NTFS Permission issue with TAKEOWN & ICACLS - SAUGATA 原文日期:2013.11.19) Most of us using TA ...
- 树莓派+移动硬盘搭建NAS服务器
由于树莓派的USB接口不足以给移动硬盘供电,因此需要另外给移动硬盘提供电源. 显示当前已有的存储设备 # fdisk -l Disk /dev/mmcblk0: 7876 MB, 7876902912 ...
- 【转】RHCE 7系列—RHCE考试
本篇主要以RHCE练习题为线索,介绍其中涉及的知识点. 红色引用的字为题目要求(不是正式题目,难度略低于正式题目) In serverX or desktopX 1. (lab teambridge ...
- pdf2htmlEX安装和配置
1.下载 安装的依赖: sudo yum install cmake gcc gnu-getopt java-1.8.0-openjdk libpng-devel fontforge-devel ca ...
- 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 ...
- 树莓派挂载移动硬盘开启samba
本文参考 [https://blog.csdn.net/u010906068/article/details/38455363],原文部分步骤在我的树莓派上,可能是版本不同吧,进行了修改后部署成功 一 ...
- 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 执行以上操作,重启解决
- NTFS 权限讲解 ACL
节选自:Securing Windows Server 2003 4.1 Protecting Files with NTFS File Permissions The primary techniq ...
- Linux操作系统内核编译之NTFS文件系统模块支持案例
Linux操作系统内核编译之NTFS文件系统模块支持案例 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.内核编译概述 单内核体系设计.但充分借鉴了微内核设计体系的优点,为内核引 ...
随机推荐
- ufldl学习笔记与编程作业:Multi-Layer Neural Network(多层神经网络+识别手写体编程)
ufldl学习笔记与编程作业:Multi-Layer Neural Network(多层神经网络+识别手写体编程) ufldl出了新教程,感觉比之前的好,从基础讲起,系统清晰,又有编程实践. 在dee ...
- 运行百度语音识别官方iOS demo,无法离线识别解决办法
需对demo进行如下修改: 1,我下载了一个临时授权文件temp_license_2015-10-27,把它拖到xcode工程里. 2,然后在BDVRViewController.m中的loadOff ...
- Oauth2.0协议曝漏洞 大量社交网站隐私或遭泄露
2014年是IT业界不平常的一年,XP停服.IE长老漏洞(秘狐)等等层出不穷,现在,社交网络也爆出惊天漏洞:Oauth2.0协议漏洞 继OpenSSL漏洞后,开源安全软件再曝安全漏洞.新加坡南洋理工大 ...
- 点滴积累【SQL Server】---使用Kettle实时同步DB2数据到SQLserver
效果: 描述: 此操作适用于单点登录的同步用户. 首先,使用kettle将DB2数据同步到SQL中,然后添加到windows的任务计划中.定时执行同步数据. 特殊说明:此工具涉及到公司版权,所以不方便 ...
- Atitit.angular.js 使用最佳实践 原理与常见问题解决与列表显示案例 attilax总结
Atitit.angular.js 使用最佳实践 原理与常见问题解决与列表显示案例 attilax总结 1. 本文范围 1 2. Angular的优点 1 2.1. 双向数据绑定 1 2.2. dsl ...
- C# 正则表达式替换制定关键词后面的所有内容
如题,将 {OUTSCIPTE} 关键词后的所有内容替换为string.Empty(包含关键字)这个正则该怎么写?我是 {OUTSCIPTE}(.*)$ 写的但是什么反应也没有 string str= ...
- redis命令_ZINCRBY
ZINCRBY key increment member 为有序集 key 的成员 member 的 score 值加上增量 increment . 可以通过传递一个负数值 increment ,让 ...
- 转-linux下配置socks5代理
简介: 在Linux下有各种各样的代理程序可用,象最常用的Squid,是http/https代理,也能代理ftp请求,但它实际上 是个HTTP代理程序,不是ftp代理,但它能处理ftp代理请求,就象浏 ...
- 地址url的split()方法使用;
stringObject.split(separator,howmany) 参数 描述 separator 必需.字符串或正则表达式,从该参数指定的地方分割 stringObject. howmany ...
- 由于没有正确使用Connection.setAutoCommit(false)而导致SQL语句没有被提交
症状: 提交了Form,执行insert操作,经过Debug也确认PreparedStatement.executeUpdate()返回值>0,但是在MySQL中直接查询表,返回的仍然是Empt ...


