in reply to HTTP::Daemon Security Question
You can add some more safety though. I havn't tested this, but the perldoc says that "The "HTTP::Daemon::ClientConn" is a "IO::Socket::INET" subclass.". So you should be able to use IO::Socket::INET's peeraddr to get the address of the client
my $peeraddress = $c->peeraddr(); # check if they are in an allowed list
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTTP::Daemon Security Question
by Crackers2 (Parson) on Jan 06, 2009 at 18:12 UTC | |
by fullermd (Vicar) on Jan 06, 2009 at 19:52 UTC | |
by bkiahg (Pilgrim) on Jan 06, 2009 at 20:01 UTC |