Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am kind of new to networking and I am trying to resolve the following situation. I tried to find a solution but I couldn't find anything proper that suits my needs. Maybe anyone here could give some clarification whether it's possible or not in the first place.

The Situation:
At home I have set up a Windows Server 2008 R2 standard edition mainly as a file server.
I added some shared folders for everyone at home to access. Including a folder backup.
In that folder there is a sub folder for every family member at home. Right now, everyone is able to access all folders without asking for username / password.

What I want
That when someone tries to access the backup folder for user1, that it asks for the credentials of user1 (accessed from his/her desktop). So that only the specific user is able to access his or her backup.

I tried

  • Creating an account for every user and give only that user rights on the shared folder.
  • Changing the shared settings of the backup-folder itself.
  • Re-sharing the user1backup folder for that user only, but this creates a complete new share (and still doesn't work).

Would it be possible to prompt for username/password (which the account has been manually made on the server) when someome tries to access that folder?

If not, are there any alternatives for this (third party tools, other methods) which someone could point out to me?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted
  1. Every user will need a separate account. (All access control in Windows is based on users.)

  2. Decide to either use permissions on shares, or have a share with full access for everyone and use permissions on the underlying folder.

#2 is to avoid making things very confusing: two sets of permissions being applied just makes working out what is going on much harder.

The simplest approach would be for each user to have their own share (only they have read and write access to it) over their own folder.

Alternatively you have one share, with the subfolders with permissions limiting it to that user.

You can create an access control list (ACL: the structure that is applied to files and folders1 to defined permissions) that would allow everyone to read everything but only the creator of a file can change/delete it but that is more advanced.

The easiest way is to create on each user's folder an ACL:

  • Do not inherit parent permissions.
  • The user has full control.
  • Administrators have full control.
  • Applied to this folder and all child files and folders.

1 And to anything else in Windows with access control.

share|improve this answer
    
for each user to have their own share seems most easy yes, but since we're not having network-wide credentials would it still be possible for them to access it from their desktops? Would it prompt for a login, or just give them plain access? –  FlorisPrijt Jan 29 '13 at 11:47
    
@FlorisPrijt If the username & password is the same on client and server they'll just connect. If not they should be prompted (but once a connection is established to the server the same credentials will be used for each further connection). –  Richard Jan 29 '13 at 12:10
    
ah okay thanks for the clarification. I'll give it a shot once I am home, and will let you know the results. –  FlorisPrijt Jan 29 '13 at 12:14
    
Got it resolved now, thanks for the help :) –  FlorisPrijt Jan 29 '13 at 21:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.