Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: liz@poppyrecords.invalid.invalid (Liz Tuddenham) Newsgroups: sci.electronics.design Subject: Re: Chinese downloads overloading my website Date: Sun, 10 Mar 2024 09:28:12 +0000 Organization: Poppy Records Lines: 75 Message-ID: <1qq74yl.1uw3jajjjmt2eN%liz@poppyrecords.invalid.invalid> References: <7qujui58fjds1isls4ohpcnp5d7dt20ggk@4ax.com> <6lekuihu1heui4th3ogtnqk9ph8msobmj3@4ax.com> X-Trace: individual.net x2w0UBQ0uwzyNmnptQt0lQz2bH6yIg6UALoD+ZmUaTDGKqy5ZS X-Orig-Path: liz Cancel-Lock: sha1:N4yHM8WEBKCu6kY7LPet4UqEg08= sha256:eOmFiSnAHY6YnCW5mgTyV3IyPTq3H4rNRmieY3gJT3s= User-Agent: MacSOUP/2.4.6 Bytes: 3535 Jan Panteltje wrote: > On a sunny day (Sat, 09 Mar 2024 20:59:19 -0500) it happened legg > wrote in : > > >On Fri, 08 Mar 2024 06:43:49 GMT, Jan Panteltje > >wrote: > > > >>On a sunny day (Thu, 07 Mar 2024 17:12:27 -0500) it happened legg > >> wrote in > >><6lekuihu1heui4th3ogtnqk9ph8msobmj3@4ax.com>: > >> > >>>A quick response from the ISP says they're blocking > >>>the three hosts and 'monitoring the situatio'. > >>> > >>>All the downloading was occuring between certain > >>>hours of the day in sequence - first one host > >>>between 11 and 12pm. one days rest, then the > >>>second host at the same timeon the third day, > >>>then the third host on the fourth day. > >>> > >>>Same files 262 times each, 17Gb each. > >>> > >>>Not normal web activity, as I know it. > >>> > >>>RL > >> > >>Many sites have a 'I m not a bot' sort of thing you have to go through > >to get access. > > > > > >Any idea what's involved - preferably anything that doesn't > >owe to Google? > >... > >I'd like to limit traffic data volume by any host to <500M, > >or <50M in 24hrs. It's all ftp. > > I no longer run an ftp server (for many years now), > the old one here needed a password. > Some parts of my website used to be password protected. > When I ask google for "how to add a captcha to your website" > I see many solutions, for example this: > > https://www.oodlestechnologies.com/blogs/create-a-captcha-validation-in-ht > ml-and-javascript/ > > Maybe some html guru here nows? If you can password-protect the pages, why not do that but include the password in the text so that any human can see it and copy it? i.e. ~~~~~~~~ To prove you are human you must type in the password, the password is ABC Password: ___ ~~~~~~~~ I don't think there is an easy way of writing anything automatic in the HTML Body text but you might be able to add a script to the Head that checks the IP address and blocks the ones you don't want. If you can write PHP, you could easily write your own version of Captcha or write a script that limits the number of repeat visits from the same IP address in a given time. Mixing PHP into HTML pages is easy but you have to change the file extension of each page from .htm to .php Servers generally have facilities for PHP already built-in and the W3 Schools tutorials can get you started. -- ~ Liz Tuddenham ~ (Remove the ".invalid"s and add ".co.uk" to reply) www.poppyrecords.co.uk