[Freeciv-Dev] Re: Daniel patches have been buried out
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, Feb 24, 2000 at 06:38:25PM +0000, Nicolas BRUNEL was heard to say:
> Hello,
>
> I dig in my hard drive and found these files.
>
> Bye,
Cool :-) I guess I'll see whether they apply against the most recent CVS
then, whether they're really the best way to do it (the magic cookies were a
bit of a hack), and whether they're still relevant (the "turnblock" variable
appears to be redundant with some of what I did)
I think probably some sort of public-key system is the best way to do this,
but we may want to start with a simple big magic number just to get the
structure working, and leave hooks for plugging in different authentication
mechanisms.
Actually, now that I think about it, there are some really interesting
possibilities here with making the authentication mode variant..
For example, you could restrict connections by IP (eg, only allow connections
from localhost), restrict by a database (nice for a large system that tracks
statistics about players), or restrict by various client IDs. (magic numbers,
public keys, user-chosen password, etc) Or even combine these in some way..
Anyway, I'll look at this this weekend if I get a chance. (not /too/ much
coursework at the moment, luckily..)
Daniel
--
"I've struggled with reality for thirty-five years, but I'm glad to say that
I finally won."
-- _Harvey_
|
|