kalpan17

Q: Sharing only ONE folder with the network...but mac os x allows windows to see all drives

I'm trying to share ONLY one folder on my i Mac (my imac os version 10.8.3) with the other pc in my organisation.

But when I enable file sharing, it automatically opens the entire computer to all the admins in the network.

 

I have found no way to restrict this and make only the shared folder accessible for admins yet....


Help?

iMac (21.5-inch Mid 2010), OS X Mountain Lion (10.8.3), iphone

Posted on May 15, 2013 6:48 AM

Close

Q: Sharing only ONE folder with the network...but mac os x allows windows to see all drives

  • All replies
  • Helpful answers

Page 1 Next
  • by Linc Davis,

    Linc Davis Linc Davis May 15, 2013 5:34 PM in response to kalpan17
    Level 10 (207,926 points)
    Applications
    May 15, 2013 5:34 PM in response to kalpan17

    If a Windows profile has the same name and password as an account on the server with access to the sharepoint, the Windows client will also have access without having to enter a password.

  • by kalpan17,

    kalpan17 kalpan17 May 17, 2013 5:54 AM in response to Linc Davis
    Level 1 (0 points)
    May 17, 2013 5:54 AM in response to Linc Davis

    sorry but all widows computes have different profile names and none of them have passwords.

  • by Topher Kessler,

    Topher Kessler Topher Kessler May 17, 2013 7:44 AM in response to kalpan17
    Level 6 (9,866 points)
    May 17, 2013 7:44 AM in response to kalpan17

    Try disabling file sharing on your Mac, and then go to the Macintosh HD > Library > Preferences > SystemConfiguration folder and remove the file called "com.apple.smb.server.plist." Then try re-enabling file sharing to see if that helps the situation at all.

  • by Linc Davis,

    Linc Davis Linc Davis May 17, 2013 10:47 AM in response to kalpan17
    Level 10 (207,926 points)
    Applications
    May 17, 2013 10:47 AM in response to kalpan17

    Triple-click anywhere in the line below to select it:

    defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.server AllowGuestAccess | open -f -a TextEdit

     

    Copy the selected text to the Clipboard (command-C).

     

    Launch the Terminal application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

     

    Paste into the Terminal window (command-V).

     

    A TextEdit window will open with the output of the command. Post the contents of that window, if any — the text, please, not a screenshot.

  • by kalpan17,

    kalpan17 kalpan17 May 18, 2013 1:17 AM in response to Linc Davis
    Level 1 (0 points)
    May 18, 2013 1:17 AM in response to Linc Davis

    A TextEdit window will open with the output of the command....but.......its Blank window.

  • by kalpan17,

    kalpan17 kalpan17 May 18, 2013 1:25 AM in response to Topher Kessler
    Level 1 (0 points)
    May 18, 2013 1:25 AM in response to Topher Kessler

    hi

     

    no such file named as "com.apple.smb.server.plist" in that location...

     

     

  • by Linc Davis,

    Linc Davis Linc Davis May 18, 2013 6:07 AM in response to kalpan17
    Level 10 (207,926 points)
    Applications
    May 18, 2013 6:07 AM in response to kalpan17

    What appears in the Terminal window when you run the command?

  • by Topher Kessler,

    Topher Kessler Topher Kessler May 18, 2013 6:28 AM in response to kalpan17
    Level 6 (9,866 points)
    May 18, 2013 6:28 AM in response to kalpan17

    A couple of questions:

     

    1. Is your Mac a member of a domain (Active Directory or Open Directory) where you can use the same user credentials on any Mac on the network?

     

    2. Have you specifically enabled Windows file sharing by clicking the "Options" button in the File Sharing system preferences and enabling access for specific users (this will require you to enter that user's password)?

     

    If not, then you can create a sharing-only user on your system (done in the Users & Groups system preferences) and then only enable that user for Windows file sharing, then configure share point privileges with this user and require others to connect using this account. If your computer is controlled by a domain, then there may be some domain-based sharing policy at play here that's overriding your system's configuration.

  • by kalpan17,

    kalpan17 kalpan17 May 19, 2013 11:35 PM in response to Linc Davis
    Level 1 (0 points)
    May 19, 2013 11:35 PM in response to Linc Davis

    A TextEdit window will open with the output of the command....but.......its Blank window.

    there is nothing written in that window. its BLANK.


  • by kalpan17,

    kalpan17 kalpan17 May 19, 2013 11:40 PM in response to Topher Kessler
    Level 1 (0 points)
    May 19, 2013 11:40 PM in response to Topher Kessler

    hi

    1st of all thanks a lot you guys are sparing time to solve my issue.

     

    basicaly i am not mac/computer genius. i really dont know the ans of your 1 & 2 que.

     

    and can u give me some easly explanation for

    "If not, then you can create a sharing-only user on your system (done in the Users & Groups system preferences) and then only enable that user for Windows file sharing, then configure share point privileges with this user and require others to connect using this account. If your computer is controlled by a domain, then there may be some domain-based sharing policy at play here that's overriding your system's configuration."

     

     

    i think this thing will work.

     

    coz when i try to use imac threw windows pc they ask me to enter user name and password and as i have only one use name (Admin) i enter that and its started showing all the files folder and drives to windows.

  • by Linc Davis,

    Linc Davis Linc Davis May 20, 2013 12:19 AM in response to kalpan17
    Level 10 (207,926 points)
    Applications
    May 20, 2013 12:19 AM in response to kalpan17

    My question was what appears in the Terminal window. I understand that there's nothing in the TextEdit window.

  • by kalpan17,

    kalpan17 kalpan17 May 20, 2013 2:04 AM in response to Linc Davis
    Level 1 (0 points)
    May 20, 2013 2:04 AM in response to Linc Davis

    Last login: Mon May 20 11:49:55 on console

    iMac:~ KalpanShah$ defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.server AllowGuestAccess | open -f -a TextEdit

    2013-05-20 14:31:15.279 defaults[588:707]

    The domain/default pair of (/Library/Preferences/SystemConfiguration/com.apple.smb.server, AllowGuestAccess) does not exist

    iMac:~ KalpanShah$

  • by Topher Kessler,Helpful

    Topher Kessler Topher Kessler May 20, 2013 5:18 AM in response to kalpan17
    Level 6 (9,866 points)
    May 20, 2013 5:18 AM in response to kalpan17

    kalpan17 wrote:

     

    coz when i try to use imac threw windows pc they ask me to enter user name and password and as i have only one use name (Admin) i enter that and its started showing all the files folder and drives to windows.

     

    This is the normal and secure behavior of the system. Your account is given access to the system through File Sharing because it normally has access at the login prompt. When you log in, you are able to access the hard drive, your user account, public folders of other users, and any attached hard drives. Therefore, when you log in via the network you are granted access to these resources so you can get to your data.

     

    This was only granted to you because you logged in with your admin password. If you had logged in otherwise then you would have been given access to the system in a more restricted way. If you had not provided a proper password (admin or otherwise) then the system would not have logged you in at all.

     

    Try not providing a password and see if you can access your files by simply pressing Enter at the network password prompt, or by entering the name "Guest" or otherwise. When doing this, access to your system should be restricted, and at most only allow you to see the "Public" folder of your account through the network.

  • by kalpan17,

    kalpan17 kalpan17 May 21, 2013 12:58 AM in response to Topher Kessler
    Level 1 (0 points)
    May 21, 2013 12:58 AM in response to Topher Kessler

    Hi,

     

     

    Topher Kessler wrote:

     

     

    Try not providing a password and see if you can access your files by simply pressing Enter at the network password prompt, or by entering the name "Guest" or otherwise. When doing this, access to your system should be restricted, and at most only allow you to see the "Public" folder of your account through the network.

     

     

    i have only one shared folder that is "Public Folder"

    i have 2 profile one is Admin without any passowrd protection and the other is guest for enabaling sharing,

    but when i try to use mac from windows pc and widows promt me to enter imac's username and password

    if i enter guest or guest user widonws shows error.

     

    and if i enter my admin user name (as admin account is not password protected) only it connect with mac.

Page 1 Next