I would like to customize DBMan so that to sign on (i.e. to be anyone but a default user with lowest level permissions) you need to be coming from ip x.x.x.x. Someone who just wants to search/view can come from anywhere. This must be possible using say
$ip = $ENV{'REMOTE_ADDR'};
and then something like
if ($ip eq "x.x.x.x") {
do something;
} else {
do something else;
}
but I can't figure out the best way / best place to put the code.
Can anyone help?
Thanks.
Tony.
$ip = $ENV{'REMOTE_ADDR'};
and then something like
if ($ip eq "x.x.x.x") {
do something;
} else {
do something else;
}
but I can't figure out the best way / best place to put the code.
Can anyone help?
Thanks.
Tony.

