Article View: news.software.nntp
Article #87146Re: Semi-random thought: websockets
From: J. Moreno
Date: Sun, 25 Oct 2015 04:17
Date: Sun, 25 Oct 2015 04:17
36 lines
2760 bytes
2760 bytes
Russ Allbery <eagle@eyrie.org> wrote: > J. Moreno <planb@newsreaders.com> writes: > > > That lets you develop the javascript, but doesn't cut the > > server/javascript leash, which is what I was actualy after -- as it is, > > javascript can really only communicate to the page it's on or to a http > > server. While this is of course a problem with javascript not with > > other protocols or servers, one way to address it would be for non-http > > servers to add a way to let javascript talk to them. > > Wouldn't the easiest way to do that be to run a web server on the news > server that sets up the WebSocket bridge? Hmn, I guess it might be possible to establish a convention of using a nntp subdomain, it could even be on port 119...more opt-in and setup heavy than I was thinking of. > > Not allowing raw streams seems to be a deliberate decisions -- both > > Chrome and FireFox allow it, but only under limited circumstances > > (plugins, certified apps for Firefox OS), so waiting doesn't seem > > likely to be useful in the short term. > > It seems really unlikely to me that browsers will want to allow web pages > you visit to start using your computer to send spam email, automate > captcha solving, brute force bank passwords, or all the other fun things > you can do with raw network sockets. All you'd need to do is inject your > Javascript into an ad network, and tada, instant botnet without even > having to find weaknesses in the individual computers. Sure some limitation is necessary, and perhaps the current limitations are intended for use while they work the kinks out -- J. Moreno
Technical Details
Message-ID:
<20151025002020.624$Ps@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<20151017031939.880$4B@newsreader.com> <87d1wava2l.fsf@hope.eyrie.org> <20151022023903.402$7b@newsreader.com> <87pp06iw1y.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <20151025002020.624$Ps@newsreader.com>
Subject: Re: Semi-random thought: websockets
Date: Sun, 25 Oct 2015 04:17:42 +0000
From: J. Moreno <planb@newsreaders.com>
References: <20151017031939.880$4B@newsreader.com> <87d1wava2l.fsf@hope.eyrie.org> <20151022023903.402$7b@newsreader.com> <87pp06iw1y.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Organization: NewsReader.Com Subscriber
Newsgroups: news.software.nntp
X-NRC-Trace: NewsReader.Com mCpAcZrLy_oAYWYcLXBcDt5cv_v1do_@RfU60yB-syj,5-dT4I
X-Face: $!7l?58&Lro>GQtr;A/P^'38=7{P[jPy/?JF*m`Z2&~@3:P3L81Sa7RQ=Y~o|
?'D1cB]L9V=\OS(\8S,5
Approved: You don't say!
Lines: 34
NNTP-Posting-Host: 24ed4663.nr5-q1.newsreader.com
X-Trace: DXC=58Yd@Un=@SXUTcBl^9IMC]bgZaH`e<A[YZ?:i9<JJBS^JDgd^mS^QMViJ;iV2YAoGU[XdP8fJ`g4YXCbYJ?``CMQ
X-Complaints-To: abuse@newsreader.com
X-Received-Body-CRC: 2030277640
X-Received-Bytes: 2716