PDA

View Full Version : I want to share files with computers A&B but not C


Zuzzz
02-04-04, 01:23 AM
I have a router and 5 PC's on a network. All are running XP. I want to create a network drive that i can share the files with computers A&B but not the rest. It seems when I allow the access to the drive I cant choose what PCs can have access to the network drive. It all or none. Any ideas on an easy solution (cheap too as I dont plan to buy another router)

Z

XWRed1
02-04-04, 02:47 AM
Use a firewall to deny access on tcp 137-9 from the computers you don't want to be able to access it.

If you were using a Linux box with Samba, you could deny based on the connecting computer's netbios name.

Zuzzz
02-04-04, 02:53 AM
Great idea but I dont even want the other computers to 'see' or be able to tell the network drive even exsists.

Z

Cjwinnit
02-04-04, 03:18 AM
Originally posted by Zuzzz
Great idea but I dont even want the other computers to 'see' or be able to tell the network drive even exsists.

Z

with those ports blocked they shouldn't see anything..

Zuzzz
02-04-04, 03:21 AM
Will they not see the drives thru the network naighborhood. all systems are on XP and I cant change that part

Z

XWRed1
02-04-04, 04:08 AM
Originally posted by Zuzzz
Will they not see the drives thru the network naighborhood. all systems are on XP and I cant change that part

Z

They discover the drives by tcp 137-9.

It is possible they might get a cached list from one of the other computers that does have access... smb does some of that I believe. Try it and see how it works for you.

PatrickBateman
02-04-04, 10:10 AM
will they also not see the computer if 137-9 are blocked?
Maybe he just wants to conceal one drive from the network?

mbentley
02-04-04, 10:50 AM
when you create the network share, just name it with a $ at the end. if you have a "documents" folder you want to share, then just call the share "documents$" and then it should not be visible thru the network neighborhood... also, if the username and password is the same on all of the computers, you can't deny access to the folder if it is found. windows first tries to use the windows logon that is currently in use on the computer to try to access a network drive...

but the $ trick should work fine... you will just need to remember the name of the share. so when you enter the share to map the drive, you will need to enter it like "\\computername\documents$". that is what i do with my system.

stabber
02-04-04, 01:27 PM
if you share something on a workgroup, all computers will be able to see it by default.

if you block netbios ports, no one will be able to access the share. The key to doing this is through NTFS permissions. Very easy. Whoever needs access, add them to security ACL. Those who dont, add them and deny them

Zuzzz
02-04-04, 05:33 PM
Stabber,

How and where do i set these permission??

Z

XWRed1
02-04-04, 06:38 PM
if you block netbios ports, no one will be able to access the share.

Only if you block access to those ports from anyone. Thats not what I suggested.


The key to doing this is through NTFS permissions. Very easy. Whoever needs access, add them to security ACL. Those who dont, add them and deny them

I thought he already looked at NTFS permissions. You can't use that to permission out a machine can you? I thought you could only permission based on the connecting user/group.

jajmon
02-04-04, 09:46 PM
There is this wonderful tool ,,,,,,,,,,,,,,,,,
start | Help and Support | type in 'sharing' (without the quotes in the search box)

Click on Sharing Files and Folders Overview

take it from there,,,,,,,,,,,,,,,,,,,,,,,,

SniperXX
02-05-04, 12:33 AM
"Help and Support", whats that??? LOL. I have actually used it before, it is helpful @ times.

I just do the "$" trick like mbentley said, works like a charm.

Zuzzz
02-05-04, 12:37 AM
This $ trick will allow only certain PC's on the network to see and access the network drive but totally block others? . I seem to be very confused on just how to set the permissions.

Z

mbentley
02-05-04, 06:08 AM
Originally posted by Zuzzz
This $ trick will allow only certain PC's on the network to see and access the network drive but totally block others? . I seem to be very confused on just how to set the permissions.

Z

no, it doesn't block others from accessing it. it blocks everybody from seeing the share, but you can connect to the share if you know the share name. in other words, you can't just stroll on in thru network neighborhood and see the share, but if you manually type it in, you can access it as long as you have the username & password too.

this also blocks a share from being seen when somebody does a "net view" of your system.

Zuzzz
02-06-04, 03:32 AM
Is there some way I can password protect the 'network' drive so that users must have a password to access. I look for this in the Share settings but I'm coming up empty. Perhaps I'm overlooking something simple.

Z

mbentley
02-06-04, 06:38 AM
Originally posted by Zuzzz
Is there some way I can password protect the 'network' drive so that users must have a password to access. I look for this in the Share settings but I'm coming up empty. Perhaps I'm overlooking something simple.

Z

i bet you have simple sharing enabled...

while looking at a folder, go to tools > folder options. then click on the "view" tab. then scroll to the bottom of the list. there should be an option that says "use simple file sharing (recommended)". for what you are trying to do, you do not want that box checked. this will give you much more control over who can and can't access a share.