File sharing on windows 7 64 Bit

Every time I try to share a specific file on my computer, the entire user directory is shared.  We opearte on a network Domain.  When I unshare the User directory, nothing is shared, event the specific file I tried to share.  What am I doing worng, or failing to do?

Who is Participating?
AnuroopsunddConnect With a Mentor Commented:
sharing is done on the folder not on file base..

if you just want to share a file..
Create a new folder ..
share the new folder
put the filein this shared folder.

so in this case only one file will be shared.
BelushiLomaxConnect With a Mentor Commented:
If the file can be moved, move it and share that folder.
Otherwise you will need to remove inherited ntfs permissions on all the files EXCEPT the one you want them to access, then remove the user and "Users" or "Everyone" from the read permissions. No need to set Deny, just take away rights to read the others. This can also be done thru icacls from elevated command prompt as local admin if there are TONS of other files in there.
uescompConnect With a Mentor Commented:
That is because when you share a file, everyone means everyone, so in order to get to that directory, everyone needs to be able to access the path to get to that file which of course shares the path not necessarily the files.  I would just create a folder on the root (c:) share the folder with the people you want to have access and remove the everyone.  If you have a group of users that you want to share the file/files with, add that specific group to the share.
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

rvhortonAuthor Commented:
Thanks for the assistance.  I did place the file in a folder that I shared.  It worked, but the USERS directory was still shared.  I than went into the users properites of the USERS directory, clicked on the Advanced Sharing button and unchecked the box for Share this folder.  This unshared the USERS directory and left the folder I wanted shared, shared.  Unless I am missing something, this does not seem to be better than under Windows XP!
It isnt better than XP. It's NTFS permissions which are common from NT days thru Windows 8 although Win Server 8 will use Relilient File Services...
It's easiest just go to to Computer-->Local Disc (C).  Create a directory in there called "Shared".  Then right-click on it and click "Share With", or after right-clicking go to Properties and click on the Sharing tab.  You may have to click on the Security tab and give permissions to "Guest" or "Everyone" depending on the details of what you want to do.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.