Re: Limiting access to cgi scripts

2001-08-19 Thread Walnut
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

Re: Limiting access to cgi scripts

2001-06-04 Thread Randal L. Schwartz
> "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

Re: Limiting access to cgi scripts

2001-06-04 Thread Brett W. McCoy
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

Re: Limiting access to cgi scripts

2001-06-04 Thread Mathew Hennessy
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

Limiting access to cgi scripts

2001-06-04 Thread Kurt Edmiston
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