Menu

Limit users to one account

Help
Anonymous
2000-12-03
2000-12-06
  • Anonymous

    Anonymous - 2000-12-03

    How can one limit a user or an ip to have only one account, or lets say 3 in case there are several persons per computer.

    This will avoid that some joker creates a batch which would create 100.000 accounts.

    Any idea?
    Regards
    Carlita17

     
    • Jason Wies

      Jason Wies - 2000-12-03

      The last IP each user logged in with is stored in the userinfo table in the lastip column.  So you could theoretically parse the IP down to xxx.xxx.xxx, and run an RLIKE ^xxx.xxx.xxx on the column where count() is less than 3.  Maybe I'll add this in a future version, but if you want it now you're on your own.

       
      • Anonymous

        Anonymous - 2000-12-06

        I guess the ip wont do it has to be macaddresses or something else since the ip changes in most modem users.

         

Log in to post a comment.