Article View: news.software.nntp
Article #67273Re: News URL Extra
From: Jeffrey M. Vinocur
Date: Fri, 28 Nov 2003 21:06
Date: Fri, 28 Nov 2003 21:06
38 lines
2707 bytes
2707 bytes
In article <bq0gra$t6m$1@murdoch.acc.Virginia.EDU>, Gina Bull <ginabull@virginia.edu> wrote: > >Here's the question - is there a way to indicate in the URL that >authentication is required? The newsreader components of Netscape (7.0 >and newer) and IE must be told to request authentication in the account >properties. There is no provision for URLs of this type. (I forget if there's support for user@pass: prefixed to the URL like there is in HTTP, but that's not relevant to you anyway, since you don't want to hardcode the password in the URL.) So much for the easy answer. But read on... >If somebody using a machine on our network does not have a >"private" account set up in the newsreader and just clicks on a URL for >access, the response is that the newsgroup does not exist -- which is a >correct response since authentication has not occurred. Now, the fact that INN handles unauthenticated-but-partial-access users in this way (i.e. by reporting the requested newsgroup does not exist) is merely a decision of implementation. It would also be reasonable, in some circumstances, to return a 480 response to such requests -- this is the client-please-authenticate code that works for you off-site users. The trouble is that I'm not sure you can do this with INN out of the box. It may be possible to do it with the Python hooks (the "dynamic" authentication feature may be powerful enough, I'm not sure), or potentially a change to the INN source may be required. -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<bq8dbr$8pa$1@puck.litech.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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp-relay.ihug.net!ihug.co.nz!logbridge.uoregon.edu!hammer.uoregon.edu!news.litech.org!not-for-mailReferences:
<bq0gra$t6m$1@murdoch.acc.Virginia.EDU>Show Full Headers
Complete Article Headers
Message-ID: <bq8dbr$8pa$1@puck.litech.org> Subject: Re: News URL Extra Date: Fri, 28 Nov 2003 21:06:04 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <bq0gra$t6m$1@murdoch.acc.Virginia.EDU> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp-relay.ihug.net!ihug.co.nz!logbridge.uoregon.edu!hammer.uoregon.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 38 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1070053564 9002 66.218.0.75 (28 Nov 2003 21:06:04 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Fri, 28 Nov 2003 21:06:04 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)