CheckReferer.pm - Check referer or remote host.
|
CheckReferer.pm - Check referer or remote host.
$Id: CheckReferer.pm,v 1.2 2003/01/03 12:04:10 t_shigetome Exp $
This module use for check CGI referer.
- CheckReferer( $filename )
-
Verify referer with permitted URIs.
The $filename is filename of parameter file.
That parameter file will be parsed with Params.pm.
- CheckForbiddenRemote( $filename )
-
Check forbidden remote hosts.
The $filename is filename of parameter file.
That parameter file will be parsed with Params.pm.
- CheckAcceptRemote( $filename )
-
Verify with accepted remote hosts.
The $filename is filename of parameter file.
That parameter file will be parsed with Params.pm.
Parameter file format is following.
That `label' is meaningless.
referer label{
accepted referer URIs;
.
.
};
forbidden label{
forbidden remote host;
.
.
};
accept label{
accepted remote host;
.
.
};
Params.pm, Timestr.pm
Tetsuya Shigetome, <t_shigetome@muf.biglobe.ne.jp>.
- $Revision: 1.2 $
-
$Log: CheckReferer.pm,v $
Revision 1.2 2003/01/03 12:04:10 t_shigetome
o No need timestr.pl
o Correct typo
- Revision: 1.1
-
Log: CheckReferer.pm,v
Revision 1.1 2002/11/25 11:49:25 t_shigetome
o First release
CheckReferer.pm - Check referer or remote host.
|