We want to have a PHP based attendance website. The employers shouldn't open this site from any other source other than the office computer, or a group of computer connected in LAN. We tried IP based login, but unfortunately due to the dynamic internet connection we have, it changes for every now and now then. We tried to get MAC address, but it is only working in the offline mode. We want it to work online like any other website, but we want it to be accessible from only our office computers. I hope any one of you guys will help me out in this. Thank in advance.
Can't do much without static IPs. Perhaps setup those computers to pass an additional header with each page request?
Is the site running on a computer on the LAN, or an outside computer? That makes a difference in how you solve the problem.
If you are on the intranet and the computers are connected via a router, you can just: 1) Setup a server on one of the computer on the network, and access its localhost via: http://IP.ADDRESS. Use the IP address of the computer locally, usually its something like 192.168.x.x 2) Setup your router and disable DMZ to avoid people entering that local IP.