[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

shared folders

we have setup a new server running on windows 2003 server. We have setup a a partition called F: that will hold all the diferent department folders. However, when when we try to map a drive to a folder on that drive through windows, we can see the server name but we can't open any further and access any folders. I think it has to so with security/sharing, but I am not sure what the best method is.
0
chriswilson265
Asked:
chriswilson265
4 Solutions
 
KCTSCommented:
When you share a folder it has share permissions. For the most part, if your drives are formatted as NTFS then give the 'Everyone' Group 'Full Control' at the share level (you will need to change the default permission on the Sharing Tab as the Default is 'Everyone' Read). This may seem odd and insecure but it is not as NFTS itself allows you much greater control of permissions. It is usual to allow full control at the share level and then tie down permissions with NTFS.

If you right click on a folder and go to the Security Tab, it will show you the NTFS Permissions. Normally you will want a shared folder not to inherit permissions from its parent folder or drive, So go to the Advanced Tab and clear the 'Inherit from parent...' box and COPY the permissions when prompted.

You can then edit/add/remove groups from the security tab and assign each the required permissions. So if you want the Marketing Group to have full access to a folder, add the Marketing Group and Assign them Full Control. If you want the Sales Group to be able to read the folder and files but not add/delete/change anything, add the Sales group and leave the default permissions, (read, read and execute list folder contents). To stop others accessing the folder remove the Everyone and (domain) Users Groups from the list.

It is enough that groups do not appear on the list to stop them getting access. You do not normally need to DENY. If a user is a member of two or more groups they get the best of their cumulative NTFS Permissions (unless a deny is present, in which case it overrides).

Normally the standard permissions will be sufficient for most purposes; if you want to be more prescriptive you can use the 'Advanced' option and set advanced permissions.

If users have both share and NTFS permissions they get the most restrictive of the combination of the combined NTFS/Share permissions (which is why it is normal to allow Full Control on the share and rely on NTFS permissions)

It is usual to give permissions to groups, not to users as this makes for easier management. If a new person joins the sales team, you just add them to the sales group and they automatically get all the permissions assigned to the Sales Group. If someone moves from Marketing to sales you remove them from the Marketing group and they lose all the Marketing Group Permissions, when you then add them to sales they get all the permissions of the sales group. As already stated a user can be a member of multiple groups.

See http://www.windowsecurity.com/articles/Understanding-Windows-NTFS-Permissions.html for more info

Once a folder is shared with the correct folder and NTFS permissions users can connect to it using the UNC path name, it they can type \\ServerName\ShareName at the run Prompt. Alternatively they can map a drive to the folder. To do this click on Tools, Map Network drive in Windows Explorer and  assign any unused drive letter to the shared folder. The folder will then appear a s Network drive in My Computer

An analogy. Your computer is a house. Your data is in as safe the house. To gain access to the data people from outside have to go through the front door (the share), and then open the safe (NTFS). They need to have both the key to the door (share permissions) and the key to the safe (NTFS permissions) to get at the data - having one key or the other is no good - they must have both.
0
 
chriswilson265Author Commented:
thats great I am nearly getting this - I am not sure what we have done but we have the C:, E: and the F: drive on the server. All the shared/department folders are if the F:. When I go to sharing on this drive, I get this message - "this has been shared for administrative purposes". Can I create another share?
0
 
Network_Data_SupportCommented:
yes create a new share as you are looking at the defult admin share that is used by enetring the drive letter followed by $.

just create a new share and name it. share it to everyone and then apply permissions in security NTFS
0
 
DenisCooperCommented:
you don't really want to share the actual drive.

you are better of creating a root folder, like FileSharing, then putting all the department folders in the FileSharing folder, and share access to the FileSharing folder it'self. Give Everyone Full control share permissions, and then give Everyone List Permissions on the FileSharing folder - once you have done this, users can access their folders from

\\servername\filesharing

hope this helps,
denis
0
 
KCTSCommented:
The warning you are getting is because by default all drives are already shared to administrators, you can share the drive again, with a different name and to non-administrator and with different permissions if you wish. However, it is not usual to share the whole drive, but to create a folder and share the folder instead, that way ypu can share different folders to different groups of users.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now