Gossamer Forum
Home : General : Perl Programming :

Deny access to offline browsers...

Quote Reply
Deny access to offline browsers...
Hi all,
Im having my site being leeched all the time. About 5% of my users are from teleport, offline browsers, etc. And I need to deny the access to them (or not let ppl get more than N files at a time).
Does anyone know how to do this?
Thanks!


Quote Reply
Re: Deny access to offline browsers... In reply to
Couple suggestions...

1) Find the User Agent for these offline browsers and then add the following lines in your robots.txt file:

Code:

User-agent: something
Disallow: directory


2) If you can identify what the IP Address is off the computer that is using this software (technically, they are really online), then you could deny access via the .htaccess file or through a .cgi script that cloaks your site.

Regards,

Eliot Lee