I have a Google App Engine PHP website. I have a register system, so the user logs in and it is saved to a database.
I want to be able to make it so that the user can only access via 2 devices. So if they try to login using a 3rd device then they won't be allowed. So for example the users device (IP address or MAC address or something) is saved and if the user tries to login using a device that isn't saved or doesn't match the saved devices credentials then why are denied access.
So to make it clearer a user (with the username i001) has a mobile phone and a laptop. So the user can log in to the website when they are using their mobile phone and laptop but no other device.
Is there any way to make this possible?