🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by John Caruso Thu, 27 Feb 1997 00:00
Netscape and AUTHINFO
#31749
Author: John Caruso
Date: Thu, 27 Feb 1997 00:00
23 lines
1303 bytes
I've seen postings claiming that Netscape will accept URLs like the
following to use AUTHINFO for news:

    news://username:password@news.server.domain/

Unfortunately this doesn't seem to work (we've tried with 2.0 and 3.01).
I've snooped the packets and Netscape isn't sending the required AUTHINFO
command at all.  What's the right URL format to force Netscape to send
AUTHINFO?

The only way I've found to force Netscape to use AUTHINFO is if the news
server is completely restricted...when Netscape sees the "480 Authorization
required" it prompts the user for a username and password.  Unfortunately
this means you can't restrict some groups but have the news server still
be open for general (non-passworded) access.

Can anyone help?

- John


Re: Netscape and AUTHINFO
#31765
Author: Frederick G.M. Roeber
Date: Thu, 27 Feb 1997 00:00
40 lines
2176 bytes
John Caruso wrote:
> I've seen postings claiming that Netscape will accept URLs like the
> following to use AUTHINFO for news:
> 
>     news://username:password@news.server.domain/

Unfortunately, no.  News URLs were not well thought out.  The
unbiquitous '<' and '>' message-id delimiters were dropped (for HTML
reasons), and that makes news URLs hard to parse.

Early on an nntp: URL form (with "typical" URL syntax) was proposed, but
Tim-BL vetoed it.  (He rather thought that the importation of "other"
protocols into the web shouldn't be too good-- he also nixed my gopher+
mods to libwww.)  

> The only way I've found to force Netscape to use AUTHINFO is if the news
> server is completely restricted...when Netscape sees the "480 Authorization
> required" it prompts the user for a username and password.

It'll send AUTHINFO info in response to 450, 480, or 502, whenever those
are sent.  If, for example, your server responds to a GROUP with a 502,
that'll trigger the authentication prompt.

How to configure your server to do that is implementation-dependent, but
if your server supports it, it does allow authentication to be required
for only some newsgroups, some actions, whatever.

> Can anyone help?

In news.software.readers?  All you'll get here is a flood of responses
saying "Don't use Netscape."

--  
Frederick G.M. Roeber, Physicist in Residence, Netscape
NOTE: my e-mail address is not "dev.null," it's "roeber."  Apologies
for the inconvenience; it's to cut down on junk mail.
about:roeber

Re: Netscape and AUTHINFO
#31798
Author: Terry Weissman
Date: Fri, 28 Feb 1997 00:00
20 lines
1136 bytes
Frederick G.M. Roeber wrote:
> 
> John Caruso wrote:
>
> > Can anyone help?
> 
> In news.software.readers?  All you'll get here is a flood of responses
> saying "Don't use Netscape."

Except for those postings by Netscape employees...

Netscape Communicator 4.0 has an option, whne adding a newshost, to say
that a password is always needed and prompts the user for it when it
first connects to the host.  Preview Release 2 of Communicator includes
this feature, at least on some platforms.

- Terry

Re: Netscape and AUTHINFO
#31830
Author: John Caruso
Date: Fri, 28 Feb 1997 00:00
71 lines
3586 bytes
In article <33166C89.31DF@netscape.com>, Frederick G.M. Roeber wrote:
>John Caruso wrote:
> > I've seen postings claiming that Netscape will accept URLs like the
> > following to use AUTHINFO for news:
> > 
> >     news://username:password@news.server.domain/
> 
> Unfortunately, no.  News URLs were not well thought out.  The
> unbiquitous '<' and '>' message-id delimiters were dropped (for HTML
> reasons), and that makes news URLs hard to parse.

Actually the posting I saw (thanks Dejanews) making this claim was
blessed by a Netscape employee--he specifically said this type of URL
is supposed to bypass the prompting for a user/password.  I've included
it below.

> > The only way I've found to force Netscape to use AUTHINFO is if the news
> > server is completely restricted...when Netscape sees the "480 Authorization
> > required" it prompts the user for a username and password.
> 
> It'll send AUTHINFO info in response to 450, 480, or 502, whenever those
> are sent.  If, for example, your server responds to a GROUP with a 502,
> that'll trigger the authentication prompt.

Right.  This behavior is broken, since it means that if the news server
provides both 1) passworded groups and 2) default access to other groups
without a password, you can't read the passworded groups with Netscape
since it will just get the default access and won't allow you to send
a user/password.  The only solution seems to be adding passwords to all
entries in nnrp.access.  We don't want to do this but it looks like
Netscape is going to force us into it.

>In news.software.readers?  All you'll get here is a flood of responses
>saying "Don't use Netscape."

Misfeatures like this might be one reason for that kind of hostility--
especially since it would have been so easy to do it right (let the user
specify the AUTHINFO user & password in the news preferences, always
send them to the server if they're defined, otherwise if access is denied
prompt for them, otherwise accept default access).

--------- 8< -----------------------------------------------------
From:         Ben Polk <bpolk@netscape.com>
Date:         1996/05/24
Message-Id:   <31A61011.1AA1@netscape.com>
Distribution: inet
Content-Type: text/plain; charset=us-ascii
Organization: Netscape
Mime-Version: 1.0
Newsgroups:   news.software.nntp,news.software.readers
X-Mailer:     Mozilla 3.0b3Gold (WinNT; I)

Heiko W.Rupp wrote:
> 
> In <4ntabl$4f2@polo.iquest.com>, Dougal Campbell wrote:
> :|Have you tried using a URL like:
> :|
> :|  news://user:password@news.my.domain/
> 
> Hu? This is Netscape's own authentication or authinfo {user|pass} ?

Netscape uses AUTHINFO {user|pass}.  This kind of URL tells the
Navigator newsreader what user/pass to use, instead of prompting
the user for them when the server returns the Authentication Required
error.
--------- 8< -----------------------------------------------------

- John

Re: Netscape and AUTHINFO
#31845
Author: Greg Berigan
Date: Sat, 01 Mar 1997 00:00
18 lines
1203 bytes
dev.null@netscape.com (Frederick G.M. Roeber) wrote:

>Frederick G.M. Roeber, Physicist in Residence, Netscape
>NOTE: my e-mail address is not "dev.null," it's "roeber."  Apologies
>for the inconvenience; it's to cut down on junk mail.
>about:roeber

Again, I'm dismayed to see an employee of Netscape promoting forgery.

-- 
         _-<#)-=# http://cse.unl.edu/~gberigan/War-of-the-Worlds.html
     ___/___
  _-~_--<###)     1953 Movie "THE WAR OF THE WORLDS" on Sci-Fi Channel!
<~c>' __--<                 SFC-USA March  1 @ 7:00 PM ET
 \_--=____#)                        March 23 @ 5:00 PM ET

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads