in reply to anti leech CGI
So, I just set my reverse DNS to return "." for my host, and I'm in. Some security.my $remote = remote_host(); return(0) unless grep /$remote/, @$hosts;
Better yet, I set it to return "((.)*)*FOO", and it goes into a deep deep loop, burning CPU for some long-ish time.
What problem exactly were you trying to solve again? If you want host-based authentication, use it. Don't try to reinvent it. Use your htaccess file to control the access to your URL.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: anti leech CGI
by zigdon (Deacon) on Oct 30, 2002 at 13:24 UTC | |
by merlyn (Sage) on Oct 30, 2002 at 15:41 UTC | |
|
Re: •Re: anti leech CGI
by hiseldl (Priest) on Oct 30, 2002 at 15:42 UTC | |
by merlyn (Sage) on Oct 30, 2002 at 15:56 UTC |