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
In reply to Re: HTTP::Daemon Security Question
by zentara
in thread HTTP::Daemon Security Question
by bkiahg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |