Article View: news.software.nntp
Article #81161Re: Implementation question
From: Julien ÉLIE
Date: Sun, 31 May 2009 17:55
Date: Sun, 31 May 2009 17:55
51 lines
3218 bytes
3218 bytes
Hi Mateusz, >> STAT <test@test123> >> 480 Read access denied for this article > > 'kay. So the rule would be "we allow to retrieve the article without > authentication if it has been posted to at least one group which doesn't > require authentication". Seems logic to me :) Not exactly. The rule about retrieval is not related to how the article was posted. When someone posts, you check if he has posting rights on every newsgroup. When someone retrieves an article, you check if he has reading rights on at least one of the newsgroups. Well, better be clear. I assume it was exactly what you intented to do but the way it was formulated was ambiguous. >> We have put in INN the 200 answer for >> (the user can post) >> OR >> [(the user can authenticate) AND (one authentication block for him will >> allow postings)]. > > Ah, then I do not understand there... > > My WriteAccess variable takes "1" if the whole server is not in read-only > mode. > > Are you saying that I should use a greeting with 201 when the server is not > write-protected, but no group allows posting? Yes of course. If a user can NEVER post, EVEN AFTER AN AUTHENTICATION, then it is 201. 200 is for a user who can post, possibly after having authenticated. (The POST capability will show him when he can.) He might also have to use an encrypted connection (via STARTTLS) in order to be able to post. Note that you could send 201 to a user and 200 to another. But maybe you do not plan to use such different cases in BasicNews (selection of rights according to IP, encryption, logging, dynamically after each command, etc.). So the logic behind your 200/201 may be easier :) -- Julien ÉLIE « Le vrai danger, ce n'est pas quand les ordinateurs penseront comme les hommes, c'est quand les hommes penseront comme les ordinateurs. »
Technical Details
Message-ID:
<gvugac$i8e$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<b12af6-523.ln1@mail.viste-family.net> <gvtsdb$a4$1@news.trigofacile.com> <mjraf6-sp4.ln1@mail.viste-family.net>Show Full Headers
Complete Article Headers
Message-ID: <gvugac$i8e$1@news.trigofacile.com> Subject: Re: Implementation question Date: Sun, 31 May 2009 19:55:23 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <b12af6-523.ln1@mail.viste-family.net> <gvtsdb$a4$1@news.trigofacile.com> <mjraf6-sp4.ln1@mail.viste-family.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 51 NNTP-Posting-Host: aaubervilliers-151-1-45-218.w83-114.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1243792524 18702 83.114.135.218 (31 May 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sun, 31 May 2009 17:55:24 +0000 (UTC) In-Reply-To: <mjraf6-sp4.ln1@mail.viste-family.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049