Share a folder with password, over a network?

Discussion in 'Windows 7 Networking' started by pettergulbra, Jun 10, 2011.

  1. pettergulbra

    pettergulbra Senior Member

    Joined:
    May 11, 2011
    Messages:
    31
    Likes Received:
    0
    Hi

    I have found lots of ways to password protect foldres. But I can`t find a way to passwordprotect the access
    over local network. (and hamachi2)

    I have tried to make a user (test) and the password (test, on that user).
    I have tried to share the folder, and just grant access for the test user.
    And I can see it if I use another computer, but I can`t access it.

    The other Pc I use, do not have the Test user installed, and that is the way I want it.
    I don`t want to add the user to all computers. I just want to give it a password, so you have to know that
    to go in to the folder.

    Is there a way for doing this?

    Kindly

    Petter
     
  2. Trouble

    Trouble Noob Whisperer

    Joined:
    Nov 30, 2009
    Messages:
    13,845
    Likes Received:
    833
    Short answer.... nope you can't do that.
    You will either need to have a username and password on the machine hosting the shared resource with the appropriate access privledges that is exactly the same as the username and password being used my the user on the other machine or
    That user will need to know a valid username and password on the machine hosting the shared resource that has the proper access privledges to that resource and when prompted he will need to enter credentials in the proper format
    The machine name hosting the share follwed by a backslash and then the appropriate username on that machine that has permissions to access that share and then the password for that user
    MachineName\UserName
    Password.
     
  3. pettergulbra

    pettergulbra Senior Member

    Joined:
    May 11, 2011
    Messages:
    31
    Likes Received:
    0
    Hi

    Thanks for answer. But I did not understand I think.

    I have made a user on the server, with password.

    But isn`t the point that, if someone tries to access the folder, the would be asked for username and password?
    If thats the case, it does not happen. But it is what I want.

    Kindly

    Petter
     
  4. Trouble

    Trouble Noob Whisperer

    Joined:
    Nov 30, 2009
    Messages:
    13,845
    Likes Received:
    833
    If the username and password exists on both, the resource host (server) and the client machine, and you are presently logged onto the client machine as that user then you will of course be allowed access to the shared resource assuming you have set the share and security permissions properly and you will not be prompted for a username and password. The prompt for credentials will come if you attempt to access the shared resource as someone who does not have the proper credentials.
     
  5. pettergulbra

    pettergulbra Senior Member

    Joined:
    May 11, 2011
    Messages:
    31
    Likes Received:
    0
    Thats what I intend to do to. But I can`t get it to work.I have made the user, and added a password for the user.Right clicked the folder, options, sharing, advanced sharing.Mark share this folder, hit ok. Then goes in to permissions, removes Everyone, and add test user.If I then brows the network, the folder shows up, but I can`t access it, and a question for password and usernamedoes not show up.What I`m doing wrong?
     
  6. pettergulbra

    pettergulbra Senior Member

    Joined:
    May 11, 2011
    Messages:
    31
    Likes Received:
    0
    Did these thread die? Hope not.Is there an goog trial on how to do this, I will read. But I can`t find anyone.Kindly
     
  7. Trouble

    Trouble Noob Whisperer

    Joined:
    Nov 30, 2009
    Messages:
    13,845
    Likes Received:
    833
    You will also need to set NTFS permissions properly under the security tab of the properties of the shared folder to include users and or groups that you want to have access to that resource.
     
  8. pettergulbra

    pettergulbra Senior Member

    Joined:
    May 11, 2011
    Messages:
    31
    Likes Received:
    0
    Hi, thanks for answer.I have added the user under the security tab, and under the share tab.I have removed the everyone user. This does not help at all. Just getthe error. Contact sys admin or something.
     
  9. pettergulbra

    pettergulbra Senior Member

    Joined:
    May 11, 2011
    Messages:
    31
    Likes Received:
    0
    Is there any other people that have had the same problem, and solwed it?

    Please help me.
     
  10. Trouble

    Trouble Noob Whisperer

    Joined:
    Nov 30, 2009
    Messages:
    13,845
    Likes Received:
    833
    SOURCE: Managing Files and Folders read this article about half way down starting with "To Share A Folder"
    Another resource which addresses the same concepts that may help you understand Share Permissions
    Basically, share permissions full control everyone group (has been the practice forever) Then use NTFS permissions under the security tab to granularly assign explict access permissions. And understand the problems with conflicting permissions because of group membership, and because of permissions being pre-determined (inherited) by and from the parent container.
     
  11. pettergulbra

    pettergulbra Senior Member

    Joined:
    May 11, 2011
    Messages:
    31
    Likes Received:
    0
    Hi

    I have now read this, and I think I get it. But still I don`t get it. Because I can`t get it to work.
    I have made som pictures so you can see what I try to do. And as you can see, the test user is changed to Frank.

    Her is a picture of the main disc share. And that works. I had to write inn the user Stue and my password. And thats ok.
    mainshare1.
    And as you can see, I have just gave my self access to this share. And that works. (I got the username and passeord promt one time, and never seen it again)

    But here is the picture of the folder share I try to make, and it inside the share of the first picture.
    foldershare1.JPG
    Everyone, Frank and Admin has the same rights. And still I cant open the folder. With my other computer.
    It can`t open anything, I see Stue-PC, and get the password and username prompt, but can`t get in.
    foldershare2safeety.JPG
    And here you se the security setup for the folder. Here eveyone also have the same rights.

    The thing I want is to get the user frank to only see this folder called frank. And have the rights do what ever hi wants in it.
    But it looks like I`n not able to do so.

    From the pictures and the help I got from Trouble I think I have done it right. But sill it don`t work.

    For my main Laptop, I have wrote in the Username and Passeord once, and it has worked since. But not on the other computers I have.

    Kindly :)
     
  12. Trouble

    Trouble Noob Whisperer

    Joined:
    Nov 30, 2009
    Messages:
    13,845
    Likes Received:
    833
    It seems that you have share permission set OK for the folder "Frank" although the only group/user that actually needs to be in there is the "Everyone" group with full permissions.
    Now regarding NTFS permission on the same folder "Frank", your image only has the "SYSTEM" user highlighted so I will just have to accept that the other users in the list have the same permissions as user "SYSTEM", if you say so.
    Now those other users are users on "Stue-PC", so.....
    An access attempt from another computer on the network would necessarily have to contain that information in the username box of the credentials prompt
    Stue-PC\Frank
    and then
    Frank's password on Stue-PC
    If for some reason you can not get this to work properly you may want to unshare the folder and start over or better yet
    construct another share, call it Frank_2 set up sharing as previously discussed, make sure Stue-PC\Frank can access it and then move the files that Frank needs into the new shared container.
     
  13. pettergulbra

    pettergulbra Senior Member

    Joined:
    May 11, 2011
    Messages:
    31
    Likes Received:
    0
    Thanks for the help! :)

    But is it the same for complete discs?

    Share with everyone, and then set the permissions via the sercurity tab?
    Or is it another way with discs and not folders?

    Kindly?
     
  14. Trouble

    Trouble Noob Whisperer

    Joined:
    Nov 30, 2009
    Messages:
    13,845
    Likes Received:
    833
    Sharing works pretty much the same whether it starts down at the file level or all the way up at the Disc/volume/partition level, but;
    as a general rule it is not considered best practice to start your sharing at the root of the drive unless of course you are talking about a general data drive. If the drive contains the OS you will likely run into problems and create difficulties for yourself when attempting to cascade adjusted permissions down through system files and folders and if for no other reason you should probably reconsider starting your sharing of a drive that contains your operating system. Not saying it can't be done, just saying that there are inherent difficulties in the process that you are better off avoiding.
    Sorry for the delayed response to your post. I've been away from the forum for a while and just recently returned.
    Regards
    Randy
     
  15. pettergulbra

    pettergulbra Senior Member

    Joined:
    May 11, 2011
    Messages:
    31
    Likes Received:
    0
    Hi Randy

    Thanks for the answer, again. It has been verry helpful.

    I don`t share the OS, hehe..
    But thanks again.

    Kindly
    Petter
     

Share This Page

Loading...