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


Groups > comp.lang.javascript > #27088

Re: onclick and <a> tag question

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: onclick and <a> tag question
Date 2015-03-20 01:28 +0100
Organization solani.org
Message-ID <mefpju$rv9$1@solani.org> (permalink)
References (2 earlier) <cn09pjFsj2vU1@mid.individual.net> <mef12f$1g8$1@solani.org> <cn0mc3F1gufU1@mid.individual.net> <mefbih$8re$1@solani.org> <cn14nuF582uU1@mid.individual.net>

Show all headers | 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