CHAPTER OVERVIEW• Create and manage file system shares and work with share permissions • Use NTFS file system permissions to control access to files • Manage file sharing using Interne
Trang 1SHARING FILE SYSTEM RESOURCES
Chapter 9
Trang 2CHAPTER OVERVIEW
• Create and manage file system shares and work
with share permissions
• Use NTFS file system permissions to control
access to files
• Manage file sharing using Internet Information
Services (IIS)
Trang 3UNDERSTANDING PERMISSIONS OVERVIEW
• File system permissions
• Share permissions
• Active Directory permissions
• Registry permissions – (REGEDIT)
Trang 4ACCESS CONTROL LISTS (ACL)
A ccess C ontrol E ntries
ACL has ACEs
Trang 5Permissions are keys to unlock access to
resources
Full Control permission is the master key
Trang 6• Allows permissions assigned at one folder to flow
down to subsequent files and folders
• Can be overridden by explicit permission
assignment or inheritance blocking
• Useful in reducing the number of permission
assignments required
Trang 7(Grand) Parent Folder
Read Write Delete Folders/Files
Read Write Delete Folders/Files
Read Write Delete Folders/Files
Read Write Delete Folders/Files
Read Write Delete Folders/Files Read Write Delete Folders/Files
???? ????? ?????? Folders/Files
???? ????? ?????? Folders/Files
???? ????? ?????? Folders/Files
Trang 8EFFECTIVE PERMISSIONS
• Allowed permissions are cumulative.
• Denied permissions override allowed permissions.
• Explicit permissions take precedence over
inherited permissions
Trang 9EFFECTIVE PERMISSIONS
(Grand) Parent Folder
Trang 10SHARING FOLDERS
• Without shares, network
clients cannot access folders on a server
Trang 11ADMINISTRATIVE SHARES
Administrative shares are hidden
Appending a share with a $ creates a hidden share.
Trang 12RESTRICTIONS ON CREATING FILE
SYSTEM SHARES
• On a domain controller:
• Administrators, Server Operators, Enterprise Admins,
Domain Admins groups
• On a domain member server or workstation:
• Administrators, Server Operators, Power Users groups
• On a workgroup or standalone computer:
• Administrators or Power Users groups
Trang 13CREATING A FILE SYSTEM SHARE USING
WINDOWS EXPLORER
Lab:
Create Share Folder
• Create “C:\ShareMe” folder
• Right-click “C:\ShareMe”
• Select “Share this folder”
Trang 14SHARING A VOLUME USING WINDOWS
EXPLORER
Lab:
Create Share for root
• Start Windows Explorer
• Select C:\ root
• Right-click C:\ root
• Select Sharing tab
• Click “New Share…”
Trang 15CREATING A FILE SYSTEM SHARE USING THE SHARED FOLDERS SNAP-IN
Trang 16CREATING A FILE SYSTEM SHARE USING
NET.EXE
• Allows shares to be created from a command line
• Lets you configure permissions during creation
• Lets you configure offline settings for the share
Trang 17MANAGING SHARED FOLDERS
Trang 18CONTROLLING OFFLINE STORAGE
Trang 19PUBLISHING FILE SYSTEM SHARES IN ACTIVE DIRECTORY
Trang 20MANAGING SHARE PERMISSIONS
Trang 21USING SHARE PERMISSIONS
• Limited scope Can be applied only to folders and
only when connecting to the share
• Lack of flexibility Permissions applied to the
share apply to all levels below
• No replication Share permissions are not
replicated
• No resiliency Share permissions cannot be
backed
up or restored
Trang 22USING SHARE PERMISSIONS (continued)
• Fragility Shares (and therefore share
permissions)
are lost when a folder is moved or renamed
• No auditing Share permissions do not facilitate
auditing
Trang 23SHARE PERMISSION DEFAULTS
• When a new share is created, the following
permissions are granted:
• Everyone special identity: Read
• Administrators: Full Control
Trang 24CREATING A FILE SYSTEM SHARING
STRATEGY
• Create logically named shares.
• Use nesting where necessary to reduce users’
need to navigate the directory structure
• Share removable drives from the root to keep the
share available when media are removed and
reconnected or changed
Trang 26USING NTFS PERMISSIONS
• Scope NTFS permissions apply no matter how
the file is accessed
• Flexibility Wide range of permissions allows
assignments to be tailored
• Replication NTFS permissions are included when
a file is replicated
• Resilience NTFS permissions are retained when
objects are backed up
• Less fragile NTFS permissions are not lost if a
file is moved or renamed
• Auditing NTFS permissions support auditing.
Trang 27MANAGING STANDARD PERMISSIONS
Trang 28USING ADVANCED SECURITY SETTINGS
Trang 29MANAGING SPECIAL PERMISSIONS
Trang 30VIEWING EFFECTIVE PERMISSIONS
Trang 31RESOURCE OWNERSHIP
• Each file and folder is assigned an owner.
• Ownership of a file makes the security principle a
member of the Creator/Owner special identity
• Files that are owned go toward disk quota
calculations
Trang 33INSTALLING IIS
• Not installed during operating system installation
• Installed through the Windows Components
Wizard (select Add Or Remove Programs in
Control Panel, and click Add/Remove Windows Components) or through the Manage Your Server wizard
Trang 34MANAGING AN IIS WEB SITE
Trang 35USING THE WEB SITE TAB
Trang 36USING THE HOME DIRECTORY TAB
Trang 37USING THE DOCUMENTS TAB
Trang 38USING THE PERFORMANCE TAB
Trang 39CREATING VIRTUAL DIRECTORIES
• Allows you to include a folder from anywhere on
the network in your Web site
• Appears to the Web site user as if it is a
sub-directory of the main Web site folder
• Allows management of Web content to be
distributed between departments
Trang 40CONFIGURING IIS SECURITY
Trang 41CONFIGURING IIS AUTHENTICATION
Trang 42CONFIGURING IP ADDRESS AND DOMAIN NAME RESTRICTIONS
Trang 43CONFIGURING SECURE COMMUNICATIONS
Trang 44• Windows Server 2003 controls access to
resources using a number of mechanisms,
including share permissions and NTFS
permissions
• Every object protected by permissions has an
ACL, which is a list of ACEs assigned to that
object Each ACE contains a security principal and indicates the level of access they are permitted or denied to the object
• File system shares enable network users to
access files and folders on other computers
Trang 45SUMMARY (continued)
• Share permissions provide basic protection for file
system shares, but they lack the granularity and flexibility of NTFS permissions
• NTFS permissions can be allowed or denied, and
explicit or inherited A Deny permission takes
precedence over an Allow permission, and an
explicit permission takes precedence over an
inherited permission
Trang 46SUMMARY (continued)
• Access granted by NTFS permissions can be
restricted by share permissions and other factors, such as IIS permissions on Web sites
• Whenever two permission types are assigned
to a resource, you must evaluate each set of
permissions and then determine which of the
two is more restrictive
• Every NTFS file and folder has an owner The
owner of a file or folder is always permitted to
modify the file or folder’s ACL
Trang 47SUMMARY (continued)
• Any user with the Allow Take Ownership
permission or the Take Ownership Of Files Or Other Objects
user right can take ownership of an object
• IIS is a Windows Server 2003 application that
allows you to share files and folders using Web and FTP server services