I have a small subscription based web site and there are clients that are sharing their logins with others.
I would like to implement a method of allowing only 1 active session per user id.
Limiting based on IP only will not work as users are often behind a proxy with a single ID. It would seem some type of cookie or token per session would be required.
How do large subscription web sites limit abuse of account sharing.
I am running CentOS 6, Using Apache and mysql.
Update:
I would like to implement this within Apache or using a module. The solution of using Ruby is not within the scope, as I have no ruby experience and I am not running Ruby.
Thank you.