How to block file access by computer browsing?

G

Guest

hi,

Thank you for your help in advance!

I have a workgroup of PC running XP with a server running 2003 (for a public
library). I found out that the PCs can access to the server by using the Open
File in Word, IE, Excel..etc by typing \\server\c$.

We do not want the patrons do this. My question is how I could block the
browsing from the PCs to the server? In other words, when someone cannot
access another PC by typing \\PCName\ShareName.

My another question is what the TCP port number for for one PC access to and
PC (eg: do \\PC_Name\share_name) ?

Thank you very much for your help!

Bobson
 
R

RBot

By default, all drives in NT/2K/XP/2K3 are configured as hidden
administrative shares. That's why they have the $ appended to the
share name, so they will not show up in My Network Places. My
question is, why do you want to disable the share. Only admins of
that computer can access the shared drive anyway, so as long as you
have passwords setup for each PC, this shouldn't be a problem.
However, if everybody knows everybody's password, here's another
option:

You need administrator rights to be able to access the shares, and
they can only be accessed by UNC. (//servername/c$)
If you do not want to use them, they can be disabled in the registry.
Open your registry (start -> Run -> regedit) *CAUTION* EDITING YOUR
REGISTRY CAN BE VERY DANGEROUS. PLEASE TAKE CAUTION IN DOING SO.

Browse to the following key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanManServer
\Parameters
and set the Autoshareserver amd Autosharewks dword value to 0.

This should disable the share.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top