Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27088

Re: onclick and <a> tag question

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: onclick and <a> tag question
Date Fri, 20 Mar 2015 01:28:54 +0100
Organization solani.org
Lines 39
Message-ID <mefpju$rv9$1@solani.org> (permalink)
References <cmugv0Fep3qU1@mid.individual.net> <2047696.ZRK4UxyjuH@PointedEars.de> <cn09pjFsj2vU1@mid.individual.net> <mef12f$1g8$1@solani.org> <cn0mc3F1gufU1@mid.individual.net> <mefbih$8re$1@solani.org> <cn14nuF582uU1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1426811326 28649 eJwFwYERADAEBLCV+so741DsP0ITuwSfK41qaytZBDZk0yk6PV4a8WAjoa9v4vQkpuAdOB8iehFV (20 Mar 2015 00:28:46 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Fri, 20 Mar 2015 00:28:46 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
X-User-ID eJwFwYcRwEAIA7CVwtH842DK/iNEcg2JTgsP8/Mb1BNinNs4rqpMRTOyv9oEDGxmyfXN2fsBP1wSjg==
In-Reply-To <cn14nuF582uU1@mid.individual.net>
Cancel-Lock sha1:Ioo/fIGEz7LCuDpFwfDPpsvDBKM=
X-NNTP-Posting-Host eJwFwQkBwDAIA0BLo0Bo5RAe/xJ25wpBhcFhvr49HSqdU+hSF3mfrZCvZA+JyCIP720wa+cHOqUSoA==
Xref csiph.com comp.lang.javascript:27088

Show key headers only | View raw


Mel Smith wrote:

> Christoph said:
> 
>> If you really want to prohibit the usage of download managers, you
>> should do this server side.  So don't give a direct download link to the
>> file resource, but instead to a script that will pass the file contents
>> through.  Signal the client that range requests are not supported by
>> sending Accept-Ranges: none, and respond with an appropriate 4xx status
>> code, if a Range header field is contained in the request.
>>
>> However, this would be OT for this newsgroup, if you won't use a server
>> side ECMAScript implementation to do it.
> 
> Thanks -- I'll consider it.
> 
>     But, I'm still in the punishment phase -- i.e., I'm angry and don't want 
> to play 'nice' anymore.
> 
>     I placed a new 'build' on my site this morning, and let my group know of 
> its existence on our ng.
> 
>     Just a few minutes ago, I had the first 'sniff' by an abuser where he 
> was (apparently) setting up for an attack tonite maybe, and where I 
> substituted an 'O' in place of a '0' in the 'files' sub-dir, and of course, 
> he got my  '404' response.  He's probably a bit confused now -- I hope. But, 
> he'll see I tried to 'spoof' him, and he'll take action again tonite. If he 
> had 'clicked'on the download, it would have worked correctly
> 
>     But soon (in a week or so), I'll be ready. Then *all* downloads will 
> requirea 'click' to get them going not just 'Gets' by CURL .

Have you considered users who have JavaScript disabled, or for whom
JavaScript is not available at all?  Have you considered that this first
"abuser" might have been on of these?

-- 
Christoph M. Becker

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

onclick and <a> tag question "Mel Smith" <syntel@cox.net> - 2015-03-18 16:44 -0700
  Re: onclick and <a> tag question Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-19 03:47 +0100
    Re: onclick and <a> tag question "Mel Smith" <syntel@cox.net> - 2015-03-19 08:54 -0700
      Re: onclick and <a> tag question "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-19 18:29 +0100
        Re: onclick and <a> tag question "Mel Smith" <syntel@cox.net> - 2015-03-19 12:29 -0700
          Re: onclick and <a> tag question "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-19 21:29 +0100
            Re: onclick and <a> tag question "Mel Smith" <syntel@cox.net> - 2015-03-19 16:34 -0700
              Re: onclick and <a> tag question "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-20 01:28 +0100
                Re: onclick and <a> tag question "Mel Smith" <syntel@cox.net> - 2015-03-19 21:42 -0700
              Re: onclick and <a> tag question Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-20 12:30 +0100
                Re: onclick and <a> tag question "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-03-20 13:51 +0100

csiph-web