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


Groups > comp.lang.javascript > #27085

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 Thu, 19 Mar 2015 21:29:12 +0100
Organization solani.org
Lines 23
Message-ID <mefbih$8re$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>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1426796945 9070 eJwNx8ERACEIA8CWApFgO3Bo/yWcs68NyvTlUmjFfY4LexywaekwUYYCUaTtSxZm2PWO9vwBBK8QYQ== (19 Mar 2015 20:29:05 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Thu, 19 Mar 2015 20:29:05 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
X-User-ID eJwNycERACEIA8CWRBIi5RyM9F+Ct9+lh0ULwQCHczrkPla3uOAG7OqN/D95pHBxbX0zXTfBBwFSECQ=
In-Reply-To <cn0mc3F1gufU1@mid.individual.net>
Cancel-Lock sha1:rcmnclPWwN5fZEFJZRm5McC5zdI=
X-NNTP-Posting-Host eJwFwYkBgDAIA8CVypOg4wA2+4/gHYLGrSSYEHQeZd/LQ4Z4v3nHYe6BXcGmht0IYbraVz8jLBG1
Xref csiph.com comp.lang.javascript:27085

Show key headers only | View raw


Mel Smith wrote:

> Christoph said:
>> Well, it pretty much appears that those "abusers" are actually download
>> managers.  If the web server is able to deliver partial content, I
>> wouldn't worry about those, because they won't increase the overall
>> bandwidth considerably.
> 
> But it still bugs me !

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.

-- 
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