Article View: news.software.nntp
Article #72357Re: Authentication advice
From: Jeffrey M. Vinocur
Date: Fri, 30 Sep 2005 20:22
Date: Fri, 30 Sep 2005 20:22
104 lines
4289 bytes
4289 bytes
In article <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>The five groups I've hosted for five years that originally came from the
>newspapers:
>
>brisbee
>computers
>petchat
>raucouscaucus
>soapbox
>
>These five "newspaper" groups should all be behind password authentication.
Are you moving your old articles over as well, and trying to make
this seamless to the clients? If not, I'd consider putting these
inside a hierarchy (newspapers.* or local.newspapers.*) just so
your config files don't have to list them out a bunch of times.
Also, so that users who might also get other groups from other
servers will have all of your groups alphabetized into a single
location.
>None of these groups will be peering to/from USENET so there's no danger
>of like-named groups interfering (i.e "local.*" not needed).
You'd be amazed how easy it is for things to leak, but okay, as
long as you're careful.
>I plan on hosting several "open" groups as well, but do not have names
>for them yet. I'll just make up a few:
>
>announcements
>ministry-news
>prayer-requests
>testimonies-praise
>personal-family-help
>cults-occult
>bible.study-discussion
>bible.prophesy
>
>Notice I created a bible "sub-directory" for the last two groups. Might
>be overkill, but this list is only for a general idea. I will have one
>or more "partners" to dream up what they want and need in the area of
>newsgroups.
Okay, I'd definitely put these in some sort of hierarchy,
personally. Same reasons as above. I'll assume you're going to
do so below, to save me typing...
>Access to the open groups would be available to anybody, including the
>users of the newspaper groups. No password should be needed (I believe
>"authuser" will not be sent).
Open posting access to? That could potentially get you in
trouble, but we'll let it be for now.
So assuming your newspaper groups are in local.newspapers.*, and
local.newspapers.access-restricted is that special group where
you leave an announcement telling people how to get access but
nobody else could post there (if you still like that idea), and
your other groups are in local.religion.*, you'd want a
readers.conf that looks something like this:
auth "global" {
hosts: "*"
auth: "ckpasswd -f /path/to/password/file"
default: "<anonymous>"
}
auth "localhost" { # might be useful for testing
hosts: "stdin,localhost,127.0.0.1"
auth: "ckpasswd -f /path/to/password/file" # can test auth
default: "<localhost>" # but don't have to
}
access "authenticated" {
users: "*"
read: "local.*"
post: "local.*,!local.newspapers.access-restricted"
}
access "special" {
users: "xanadu,<localhost>"
newsgroups: "*"
access: "RPNAL"
}
access "public" {
users: "<anonymous>"
read: "local.religion.*,local.newspapers.access-restricted"
post: "local.religion.*"
}
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<dhk6r1$iuf$3@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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <CqTZe.81538$qY1.40661@bgtnsc04-news.ops.worldnet.att.net> <dh9oli$l6c$1@puck.litech.org> <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net>Show Full Headers
Complete Article Headers
Message-ID: <dhk6r1$iuf$3@puck.litech.org> Subject: Re: Authentication advice Date: Fri, 30 Sep 2005 20:22:57 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <CqTZe.81538$qY1.40661@bgtnsc04-news.ops.worldnet.att.net> <dh9oli$l6c$1@puck.litech.org> <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net> 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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 104 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1128111777 19407 66.218.0.75 (30 Sep 2005 20:22:57 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Fri, 30 Sep 2005 20:22:57 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)