I am working on a web app that will be used by restaurants to let the cashier access data about clients, reservations and so on.
One of my test clients, though, said he would like to allow cashiers access the web app only when they are at the restaurant computer. In other words, he doesn't want his employees to be able to log into the web app and access client info from their homes or from some other location/computer.
My first thought was to check the IP address of the client on the web app, and only allow certain IPs (i.e. the IPs of the restaurant connection) to access it.
The problem is that the Internet connection on most restaurants use DHCP, so their IP keeps changing. I could check only the first 2 bytes of the IP (e.g., 106.280), but this wouldn't be 100% secure, and on some ISPs even the second byte will change from time to time.
Any other ideas on how I can solve this problem?
Thanks in advance.