如果您在网络上有多台计算机并希望在它们之间共享文件夹,您可以通过创建隐藏的(network and want)Windows 共享(Windows share)来增加额外的安全性。本指南相当基础,并假定您处于工作组或域 Windows 环境中(workgroup or domain Windows environment)。如果您想共享一个文件夹,隐藏共享非常有用,但只希望您为其提供(Hidden)共享名称(share name)的人访问它。
当然,隐藏的共享并不能(NOT)确保如果有人努力就无法访问该文件夹。最好将此作为额外的安全步骤(security step)与您的其他网络安全(network security)策略一起使用。如果您在Windows 域中(Windows domain),例如在公司网络中,您会发现 99% 的时间,您的本地硬盘都是共享的。这些在IT 术语(IT lingo)中称为管理员共享。基本上(Basically),它是这样配置的,因此任何管理员都可以连接到网络上的任何计算机并访问(network and access)所有本地文件。
管理员共享也都是隐藏共享,因此任何浏览网络的人都看不到它们。您可以通过转到My Computer,右键单击本地C 驱动器(C drive)(或您拥有的任何字母)并选择Properties来查看您的本地驱动器是否已共享。单击“共享(Sharing)”选项卡,您将看到“共享此文件夹(Share this folder)”被选中,共享名称为 C$。
共享名称(share name)后的$符号是使文件夹隐藏(folder hidden)在网络上的原因。正如您在此处看到的,我的整个C 硬盘(C hard)驱动器都是共享的,因为我在公司域中。请记住(Remember),这意味着任何管理员(Administrator)都可以随时访问您的所有文件!因此,您在Windows 域中(Windows domain)确实没有隐私。
当然,要在家庭网络(home network)甚至办公室共享文件夹,请遵循与上述相同的步骤。默认情况下,当您单击共享此文件夹时,共享名称(share name)将填写文件夹名称。在Windows 7和Windows 8中,单击高级共享(Advanced Sharing)按钮以获取所有共享选项。
只需在共享名称(share name)后添加$即可,无需任何空格。您应该注意,只有在Windows 7(Windows 7)和Windows 8中首次共享文件夹时才能创建此隐藏共享。出于某种原因,共享文件夹后无法更改共享名称(share name),因此要更改共享名称,您必须先删除共享,然后重新共享文件夹。
此外,如果您希望人们能够添加和删除文件夹中的文件,您需要单击权限(Permissions)按钮,然后单击更改(Change)或完全控制(Full Control)。
更改(Change)通常足够好,因为它允许人们添加文件和删除文件。完全控制(Full Control)允许某人更改文件夹本身的权限。
为了访问Windows中的隐藏共享,您需要转到Windows 资源管理器(Windows Explorer)(我的电脑(My Computer))并键入文件夹的完整UNC 路径(UNC path)。如果这没有任何意义,那么UNC 路径(UNC path)就是您要访问的计算机名称和文件夹名称。(computer name and folder name)因此,如果我在名为 Comp1 的计算机上将名为 MyFiles 的文件夹共享为( Comp1)MyFiles $(MyFiles),MyFiles$将通过转到My Computer并在地址栏中键入来访问该文件夹:
\\Comp1\MyFiles$
只要一切设置正确,文件夹的内容应该会毫无问题地弹出!请注意,如果您通过资源管理器(Explorer)浏览网络并单击该计算机,您将不会在列表中看到该共享文件夹,因为它是隐藏的。您只能通过手动输入完整路径来访问它,如上所示。
就是这样!您现在已经在网络上共享了一个隐藏的文件夹!如果您对此设置有任何疑问或问题,请发表评论,我们会尽力提供帮助。享受!
How to Create a Hidden Network Share in Windows
If you havе multiple computers on a network and want to share folders between them, you can add an еxtra bit of security by crеating a hidden Windows share. Thіs guide is fairly basic and assumes that you are in either a workgroup or domain Windows environment. Hidden shares are uѕeful if you want to shаre a folder, but only want it accessed by people who you’ve given thе share name to.
Of course, a hidden share does NOT ensure that someone cannot gain access to the folder if they try hard enough. It’s best to use this as an extra security step along with your other network security policies. If you’re in a Windows domain, like within a corporate network, you will find that 99% of the time, your local hard drives are shared out. These are called admin shares in IT lingo. Basically, it’s configured that way so that any administrator can connect to any computer on the network and access all of the local files.
The admin shares are also all hidden shares, so that anyone browsing the network will not see them. You can see if your local drives are shared out by going to My Computer, right-clicking on the local C drive (or whatever letter you have), and choosing Properties. Click on the Sharing tab and you’ll see that “Share this folder” is selected and the share name is C$.
The $ symbol after the share name is what makes the folder hidden on the network. As you can see here, my entire C hard drive is shared out since I’m on a corporate domain. Remember, this means that any Administrator can access all of your files at any time! So you really have no privacy in a Windows domain.
Of course, to share a folder on a home network or even in your office, follow the same procedure as described above. By default, when you click Share this folder, the share name is filled in with the name of the folder. In Windows 7 and Windows 8, click on the Advanced Sharing button to get all the sharing options.
Just add the $ right after the share name without any spaces. You should note that you can only create this hidden share when you first share the folder in Windows 7 and Windows 8. For some reason, you can’t change the share name once you’ve shared the folder, so in order to change it, you have to first remove the share and then re-share the folder.
Also, if you want people to be able to add and delete files in the folder, you’ll need to click on the Permissions button and click either Change or Full Control.
Change is usually good enough because it allows people to add files and delete files. Full Control allows someone to change the permissions on the folder itself.
In order to access the hidden share in Windows, you need to go to Windows Explorer (My Computer) and type the full UNC path to the folder. If that didn’t make any sense, the UNC path is simply the computer name and folder name that you want to access. So if I shared a folder called MyFiles as MyFiles$ on a computer named Comp1, I would access that folder by going to My Computer and typing in the address bar:
\\Comp1\MyFiles$
As long as everything was setup correctly, the contents of the folder should pop up without a problem! Note that if you browse the network via Explorer and click on that computer, you won’t see that shared folder in the list because it’s hidden. You can only access it by manually typing in the full path like shown above.
And that’s it! You have now shared a folder on the network that is hidden! If you have any questions or problems setting this up, post a comment and we’ll try to help. Enjoy!