Re: Login witth same user/pass
"Omar Garcia" <[email protected]>
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <002501c4c244$614ce310$910010ac@coco> |
Thanks you I´ll try it. Regards. ----- Original Message ----- From: "Mathieu Bouchonnet" <[email protected]> To: <[email protected]> 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" <[email protected]> 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 > > Hi, > > 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. > > Regards, > Mathieu Bouchonnet > _______________________________________________ > NoCat mailing list > [email protected] > http://lists.nocat.net/mailman/listinfo/nocat