Re: Login witth same user/pass
Omar Garcia <omar.garcia <at> fractalia.biz>
2004-11-04 08:00:32 GMT
I´ll try it.
----- Original Message -----
From: "Mathieu Bouchonnet" <mbouchonnet <at> escp-eap.net>
To: <nocat <at> lists.nocat.net>
Sent: Wednesday, November 03, 2004 7:00 PM
Subject: Re: [NoCat] Login witth same user/pass
> Le Mon, 25 Oct 2004 11:09:33 +0200
> "Omar Garcia" <omar.garcia <at> fractalia.biz> ecrivait:
> > Hi list,
> > I have test login with 3 computers with same user / pass and its
possible. The users authenticates against a Mysql database.
> > Could I disable this feature and prohibit login with same login/pass at
the same time?
> > Regards
> You could do this quite easyly by adding a flag in your mysql database
when a user is logged in.
> Then when you do your query to check the password, you could just add a
"select " to see if it is the case.
> Here, when a user logs in, we add an entry in our dns server (on the nocat
box) to match the user name given with the ip adress.
> So if someone logs into the WIFI, his computer name will be
student00048545.escp.edu, if someone else tries to log in using the same
name, we'll have two computers with the same name, but it should be easy to
check if a name already exist then we just close the connection.
> Mathieu Bouchonnet
> NoCat mailing list
> NoCat <at> lists.nocat.net