[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: naive authentication scheme for ra_svn

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-09-14 00:13:56 CEST

Greg Hudson wrote:

> On Sat, 2003-09-13 at 17:49, Garrett Rooney wrote:
>
>>Well, I was playing around this weekend, and I hacked something together
>>to do just that. It implements a new SASL mechanism, 'NAIVE', which has
>>the user send a username and an md5 encoded password over the wire to
>>the server, which authenticates them against a simple tab delimited file.
>
>
> There are already SASL mechanisms this dumb; why invent a new one?

Because I haven't delved too deeply into SASL at all, and just wanted to
see how such a thing would be implemented. As I've said, I'm not
pushing to commit something like this, I was just playing around and
thought others might find something like this useful.

> For that matter, why implement a SASL mechanism this dumb? ANONYMOUS
> can carry a username without creating a false illusion of password
> security. The current code doesn't send or process usernames, but that
> would be easy to change. (Accepting usernames for anonymous auth would
> have to be a non-default server option, of course.)

Honestly, sending a username along with ANONYMOUS just hadn't occured to
me. Perhaps I will look at implementing that as an option, as it does
seem like it might be useful in some situations.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 14 00:14:41 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.