Do it via a .htaccess file
On Mon, 04 Jun 2001 13:56:14 -0400, [EMAIL PROTECTED] (Kurt
Edmiston) wrote:
>Hi, I want to limit access to one of my scripts. I have a list of web
>pages that are authorized to call my script, and I want to disable the
>script if another unauthorized page calls it
> "Kurt" == Kurt Edmiston <[EMAIL PROTECTED]> writes:
Kurt> my $referer = $ENV{HTTP_REFERER};
No. Trivially forged, stripped by many security proxies and caches.
Interesting as a logged item or a hint, however.
Try something else.
--
Randal L. Schwartz - Stonehenge Consulting Serv
On Mon, 4 Jun 2001, Kurt Edmiston wrote:
> Hi, I want to limit access to one of my scripts. I have a list of web
> pages that are authorized to call my script, and I want to disable the
> script if another unauthorized page calls it. My code to do this looks
> like the following:
>
>
> my
Kurt Edmiston wrote:
>
> Hi, I want to limit access to one of my scripts. I have a list of web
> pages that are authorized to call my script, and I want to disable the
> script if another unauthorized page calls it. My code to do this looks
> like the following:
>
> my $referer = $ENV{H
Hi, I want to limit access to one of my scripts. I have a list of web
pages that are authorized to call my script, and I want to disable the
script if another unauthorized page calls it. My code to do this looks
like the following:
my $referer = $ENV{HTTP_REFERER};
my $legal_re