Wednesday, October 13, 2010

Sharing

In order to make a resource to be available over the network and to be accessed by network users we need to implement sharing.
The moment we create a share on a server, server acts like a file server. 
Sharing a resource: 
On DC
Open my computer
Select any drive
Create a new folder
Give name of the folder
Right click on the folder
Select sharing and security
Share this folder
Apply > ok
Accessing share resources from a client machine:
 

On client machine
Open my network places
Entire network
Microsoft windows n/w
Domain name (ex. Zoom)
Computer name
Creating a share through command line: 


On DC
Go to command prompt
md sharename
net share sharename=c: \share name
Connecting to a share resource through a command prompt: 

On member server
Go to command prompt
net use z:\\computername\sharename
Mapping a drive (connecting to the share from GUI): 

On member server
Right click on my computer
Map network drive
Select the drive letter
Uncheck or check reconnect logon
Browse the share folder
Computer name>share name>ok>finish.
Permissions: 

Using permissions an administrator can either allow or deny access to a resource.
Resource can be a network resource or local resource
Permissions are of two types: 

1. Share level
2. File system or NTFS
Share level permissions 

Share level permissions are applied over the network.
Share level permissions are not applied on the local machine where the resource is existing.
There are three types of share level permissions

Full control RWXDO (Read/Write/Execute/Delete/Ownership)
Change RWXD
Read R
Practice: 

On DC
Create a share
Create three users
Set permissions
Setting permissions: 

Create folder> share> right click on folder> properties> permission
> Remove everyone
>Add all the users whom you want to allow or deny.
>Apply>ok.
Verification: 

Move on to client machine
Login as different users
Try to access the n/w resources.
2. NTFS permissions:

NTFS permissions are powerful permissions and they offer file and folder level security. NTFS permissions are useful for securing locally available resources.
NTFS Features: 

File/folder level security
Compress
Encryption
Quotas
Reduced fragmentation
Hot fixing
Volume shadow copy services
Mounting
Separate recycle bin for each user
NTFS permissions:

Full control RWXDO
Modify RWXD
Read & Execute RX
List folder contents L
Read R
Write RWX
Implementing NTFS permissions:

On member server-Create a folder
On DC-Create 3 users.
On member server
Right click on the folder
Properties
Security
Add the users we have created on DC
Ok
Select the user and set the permission
U1-full control
U2-modify
U3-read
Apply-ok.
Experiment2: 

Login as administrator on member server
Create a folder
Folder properties
Security
Advanced-uncheck the box allow inheritable permissions..
Remove
Apply – ok.
Add the users we have created along with the administrator
Administrator -full control
U1 – full control
U2 – modify
U3 – read – apply – ok

Full control permissions
This permission offers complete control i.e., taking ownership and setting permissions on files and folders.
Users who have full control permission can take ownership of a resource
The moment a user creates a folder he becomes an owner of a folder.
Owners will have full control access
Taking ownership of a folder: 

On member server
Login as administrator
Create a folder
Go to properties of the folder
Security
Add the user to whom we want to give permission
Ex: u1-full control
Apply – ok

Step2: login as a user1 (u1)
Go to the folder properties
Security
Advanced
Owner
Select user
Check the box replace owner on
Apply – ok
Share level NTFS level N/W Local

Read read read read
Change read change read
Read modify read modify
Read write read write

No comments:

Post a Comment