hwg-techniques archives | Apr 2000 | new search | results | previous | next |
Re: A CGI Question.by terry morse <tmorse(at)terrymorse.com> |
|
>I'm new to Perl & was wondering how I can block calls to a perl >script from external servers? > >ie: I only want the script to only be accessible from a > specific page in a protected directory. > The easiest solution is to tell the web server to deny access. Simply put a ".htaccess" file in the protected directory that only allows access by local IP addresses. See the following for an example: <http://www.baremetal.com/gadgets/htaccess/access.html> -terry
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA