How to allow only a specific IP to connect to the server?

Giganews Newsgroups
Subject: How to allow only a specific IP to connect to the server?
Posted by:  Andrea Raimondi (rainap…@tin.it)
Date: Wed, 21 Jul 2004

Hello,

I would like to accept connections only from 127.0.0.1 with my
Indy HTTP server.

I saw an OnSessionStart even which looks promising, but I can't
find a way to halt the session if RemoteAddr isn't the one allowed.

Any hints, directions, insights on the matter?

TIA,

Andrew

Replies