1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Network share to require login

Discussion in 'Networking & Security' started by Tau, Jun 12, 2008.

  1. Tau

    Tau New Member

    Joined:
    Mar 9, 2007
    Messages:
    821 (0.29/day)
    Thanks Received:
    92
    Alright what i am trying to do is have a password, or login required to access some shared folders on a computer. All computers are using XP Pro SP2, now i have had situations in the past were i try to access a shared folder over the network on a laptop and it asks for a username and password before it will let me access it. This is what i am trying to setup. Even if i was able to assign the folder permissions for a specific user account.

    Any help?
     
  2. Tau

    Tau New Member

    Joined:
    Mar 9, 2007
    Messages:
    821 (0.29/day)
    Thanks Received:
    92

    Yeah iv been through all that and i cant add a user from another machine.

    Right now i have a local account (on the computer with the shares) that has full control alowed, than when i try to access the folder from another machine i get a "\\servername\foldername is not accessable. You might not have permission to use this network resource. Please contact the administrator of this server to find out if you have access permissions. Logon failure: Unknown username or bad password"


    I just want it to prompt for username/password credentials when i try to access it from another machine.
     
  3. DanTheBanjoman SeƱor Moderator

    Joined:
    May 20, 2004
    Messages:
    10,553 (2.77/day)
    Thanks Received:
    1,383
    Start with turning off simple filesharing.
     
  4. Tau

    Tau New Member

    Joined:
    Mar 9, 2007
    Messages:
    821 (0.29/day)
    Thanks Received:
    92
    First thing i didn ;)


    Still cant figure it out :( Now when i turn simple filesharing back on i still cant access them :S

    I got simple working again, still nogo though :(
     
  5. Tau

    Tau New Member

    Joined:
    Mar 9, 2007
    Messages:
    821 (0.29/day)
    Thanks Received:
    92
    Got it so i can access the folder, now i need to make it ask me for a password.
     
  6. Tau

    Tau New Member

    Joined:
    Mar 9, 2007
    Messages:
    821 (0.29/day)
    Thanks Received:
    92
    Bump - still need help on this.
     
  7. Tau

    Tau New Member

    Joined:
    Mar 9, 2007
    Messages:
    821 (0.29/day)
    Thanks Received:
    92
    Sigh, comon people, i either get it so it blatantly denys me access, or it just lets me in.

    Google has been of little use as well.
     
  8. kureng

    kureng New Member

    Joined:
    Apr 6, 2007
    Messages:
    100 (0.04/day)
    Thanks Received:
    0
    try add user "everyone" and mark read and list permission
     
  9. Shyska New Member

    Joined:
    Sep 7, 2005
    Messages:
    159 (0.05/day)
    Thanks Received:
    16
    Hi, Tau
    To properly share a folder there are five things you should do:

    1. Disable simple file sharing.
    2. Share the folder.
    3. Set share permissions.
    4. Set folder permissions.
    5. Make sure you don't have same username/password on both machines.


    Maybe it already gives you a clue?
    If not, there is some wider explanation (if you are testing all over, do it on a new folder in root space, e.g. on "C:\testshare"):


    1. Go to Explorer (e.g. open My Computer). Go to menu "Tools->Folder Options...", "View" tab, Make sure "Use simple file sharing (Recomended)" is UNchecked.


    2. Rightclick the folder, choose "Sharing and Security...", click on "Share this folder". Do NOT exit this window, you need it for next step, just press "Apply" button.
    After this you have a shared folder for which only your local users can get access and only to read information (can not change old or add new files).


    3. On the previous window press "Permissions" button, mark "Everyone" group and check "Full Control", it is not checked by default. Close window by pressing "OK" ONE times. You should see "Sharing" tab now, leave it at that and go to next step.
    Do not use any other rights on sharing permission tab, let everyone with full access and manage anyting else on folder permission tab, it is a better practise, trust me.


    4. Click on "Security" tab. There you see all the users, there you manage who can access resources and who can not. This is the part where you probably have problems.

    First of all, remove all permissions. To do that, click "Advanced" button, unckeck "Inherit from parent the permission...<>", click "Remove" as an answer. Close Advanced Security Settings window by pressing "OK".

    Now you have clean Security tab. You can go and see that you can not even enter the folder ;)

    At this point you should be looking at folder properties "Security" tab, which has no entries in "Group or user names" textbox.
    Click "Add..." button, write name of the user you want to give access, click OK. Now you have your choosen user able to view folder contents and read (open) files. You can add another access options like Modify (change files) and Write (create files) by checking permission boxes on "Allow" column.
    Add all the users you need there.
    Add user "SYSTEM" with Full Control.
    Be carefull if you add "Deny" permissions, they overide "Allow" permissions.

    At this point you are all set up.


    5. If someone still can access folder from another PC without giving username/password, they are working with same username and same password as a user that has access permissions on your host PC. Change that.


    P.S. oh, and I assume you have passwords for your users.
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page