Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: LAN networking - How can i manage the LAN connection?
| Subject: | Re: LAN networking - How can i manage the LAN connection? |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 1 Aug 2006 14:34:49 |
"Jamie Dale" <j.dale@turboz.net> wrote in message
news:44cf960b@newsgroups.borland.com...
> IS there a way that I can stop a computer connecting to
> another computer on a LAN?
No.
> I want one computer to be a file server (of sorts) but I only want 1
> or 2 other computers to be able to connect to it.
Then you should isolate the file server onto a private network that only
those 2 other machines have physical access to.
> These will be identified by their LAN MAC address's.
You cannot retreive the MAC address of a client. You will have to identify
them by their IP address instead.
> I know that using TIdTCPServer I could simply disconnect, BUT that
> would still allow the remote computer ping and a possible hack etc.
That is what firewalls are for.
> I want to make the Server physically ignore/discard all network traffic
> OR disconnect any computer that does not have an authorised MAC.
Then you should physically isolate it to begin with, and not try to handle
everything in code.
Gambit