in reply to Re: New login mechanism for cbstream
in thread New login mechanism for cbstream

As a huge cbstream user, yes, that would be WAY easier. It's also easier to trust (even if it is less secure). I had to do a triple-take today logging in via the channel where I saw a bunch of other users sitting there - didn't want them to see my password!

In many ways, I would have preferred a web interface where I could just write a small script with WWW::Mechanize to pass my user/password across. Then whenever I find myself logged out (due to a cbstream-bot-reset), I could just switch over to a console and type "login_<tab>", see the "login_to_cbstream.pl" show up on my command line, hit enter, and be pretty much assured of as much security as anything else (seeing as perlmonks doesn't use ssl, either). Probably easy to launch from Xchat, too...

But who am I to complain ... it's still, overall, FAR easier to use (for me) than any of the other CB interfaces...

Replies are listed 'Best First'.
Re^3: New login mechanism for cbstream
by ambrus (Abbot) on Aug 06, 2008 at 09:57 UTC

    I basically have three reasons why I think logging in on irc is more convenient than on a web form.

    Firstly, on a web form, you have to enter your irc nick separately, which is error prone, whereas on irc you automatically cannot log in anyone else than yourself.

    Secondly, the users only have to set up one application, not two. Many irc clients have at least some scripting support, so a user could even fully automate that when he goes on irc, the client joins the cbstream channel and logs in for him. Similar is true with a very dumb irc client: I have used irc to get support from an install cd that only gave me a busybox rescue shell. I could use the wget nc command to submit a simple web form, but if you already have a connection for irc open, it's easier to just type one or two commands there than mess with a web form.

    The third point is the convenience of implementing on the server side. It would be possible to write a cgi that runs in the webserver, and make it transmit the data to the cbstream server, true, but it seems much easier to make the cbstream server accept one more kind of input as it already has the irc connection open. This is especially true to the new channel-based login mechanism, which is actually even easier to implement than the memoserv-based one, only I didn't realize this back when I wrote the memoserv handler.