I have a website with premium and free members.
Premium members, it goes without saying, need to pay before they can enjoy some special features within the site.
Now, I want to prevent premium members share their ID and password with others.
My current plan is to log every request by premium ID in the database and later observe the log file to determine whether an ID has been shared or not.
My table will hold: the user ID, date and time, page requested, and IP address.
If 2 different IP address are accessing the page within my website using the same ID within a very close time. Then the ID should be marked as 'shared'.
Any other best practices to this?
or do u see any flaws on my logic?
thx alot