Too much sharing - private files visible


  1. Posts : 4
    Windows 7
       #1

    Too much sharing - private files visible


    Hi

    I can't understand what Win 7 is doing when file sharing.

    My network is 1 Win 7, 1 Vista, 2 XP all connected via a Draytek router.

    I have enabled file and printer sharing on all machines. From the Win 7 machine I can see the shared resources of the XP and Vista machines.

    From the Vista and XP machines I can see a combination of the following, depending on how I set up the Win 7 machine.

    1. If I have my single standard username and login:

    a) No sharing password protection enabled - *both* the Public folders and my private folders are visible.
    b) With sharing password protection enabled - username + password requested and entered, then *both* Public and private folders shown.

    2. If I create another account so I have two usernames and logins set up on the Win 7:

    a) No sharing password protection enabled - only Public folder visible and no private folders for either username.
    b) With sharing password protection enabled - username + password requested and entered, then both the Public and private folders of that username are visible, depending on the username entered.

    I can understand why the folders might be visible if you have to enter a login name/password, but why are they still visible if no password access is requested or set on the Win 7 machine. Why do I need to have two usernames in order to hide the private files or have to set up password protection?

    I've checked the share permissions for my (private) documents, and they are set to 'share with nobody'.

    Am I missing some security setting or other?

    Rgds

    David
      My Computer


  2. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #2

    To clarify: you have the same username/password on all machines. When you log onto an XP machine, you can browse to the Windows 7 computer and see private files for that same user and you can also see public files?
      My Computer


  3. Posts : 4
    Windows 7
    Thread Starter
       #3

    No, I don't have the same username on all machines. On one Xp machine I have the same username but different password, on the other there are no usernames and on the Vista there is a completely different username.
      My Computer


  4. Posts : 1,426
    7 Pro
       #4

    private =/= hidden. by default most ACLs include local "user" accounts with read only permissions, thus people can see them.

    to make them hidden, under the "sharing" tab, click advanced sharing, click share this folder then put a $ after the share name.
      My Computer


  5. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #5

    Have you actually tried to access those files?
      My Computer


  6. Posts : 4
    Windows 7
    Thread Starter
       #6

    To Brady - I don't understand what an ACL is. The 'My Documents' folder does not have the 'share' check box ticked, but the 'Properties' screen says it is shared. I'm assuming this is because it is a sub-folder of the 'Users' folder which is shared. I can't understand why you simply can't share only the 'Public' folders like you used to do under XP.

    To Kegobeer - yes I've managed to access, alter and save the files. I can, though, make them 'read only' by changing the 'advanced share' settings for the 'users' folder and modifying the settings for the 'everyone' user to 'read only'.
      My Computer


  7. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #7

    In advanced sharing, do you let Windows manage homegroup connections, or do have you elected to use user accounts and passwords to connect? Also, on any of those other computers, did you previously connect to your Windows 7 computer and were you asked for credentials? I'm wondering if maybe you entered your user name and password and elected to have Windows remember those credentials.
      My Computer


  8. Posts : 4
    Windows 7
    Thread Starter
       #8

    Yes, Windows is not managing the 'homegroup' and yes it is set to use the usernames and passwords. I didn't ask windows to save the login id on any of the computers.

    I've bodged a workaround to the problem, but I'm still confused as to why Windows appears to be so insecure.

    I entered 'Advanced Sharing' on the Users directly and un-shared the entire directory. I then created a separate c:\shared folder. I then shared this with 'everyone'. I then created a new 'Library' under 'Documents' and added the shared folder to that Library. I can now simply drag files to that new folder if and when I want to share them. It's a complete bodge job, but it seems to work.

    Rgds
      My Computer


  9. Posts : 1,170
    XP Pro SP3 X86 / Win7 Pro X86
       #9

    davidsh said:
    I'm assuming this is because it is a sub-folder of the 'Users' folder which is shared.
    That is most likely what's happning. When you share a folder all folders under it are also shared.

    You should turn off shring on your "Users" folder entirely. Then share only those folders (or files) you wish to share by going to each and setting up individual shares.

    Also, to increase privacy and security you should make sure Win7 sees your LAN as a "Business netork"... I tried the home networking and, quite frankly it's a flaming disaster in terms of security. Further, you should enable passwords on all shares, then use advanced sharing and --on a share by share basis-- you can control which users can do what...

    For example: I share my "Top Hits" collection (at d:\Music\Collections\TopHits")... In My Network it shows up simply as "Top Hits". I gave everyone Read permission which means they can play files from the collection just by clicking on them. But I also gave myself Full Control so that I can manage my collection from whatever computer I'm on at the moment... I just enter my username and password for the host machine and do what I want. When I log off and back on nobody can get in there and change anything
    Last edited by CommonTater; 18 Mar 2010 at 13:42.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:14.
Find Us