Authentication over SSL

Julien ÉLIE julien at trigofacile.com
Tue Sep 9 18:48:34 UTC 2008


Hi Todd,

> I would like a way to provide a custom error message back to the client.
> This would permit me to offer clients to have read only access to news
> over a non-ssl connection, but when they try to post I could tell
> them to look at a web page that will explain how to enable SSL
> in their client.


Just use an nnrpd filter hook:

    http://www.eyrie.org/~eagle/software/inn/docs/hook-perl.html
    http://www.eyrie.org/~eagle/software/inn/docs/hook-python.html

with something like:

    return 'Have a look at...' if (what-you-want);


You have to give them post access with readers.conf and when these very
users post an article, you use an nnrpd filter hook (Perl or Python)
with such a return.

-- 
Julien ÉLIE

« Quand on aime on ne compte pas...
  Ça tombe bien, je suis mauvaise en calcul ! »



More information about the inn-workers mailing list