0

I want to make a timesheet web app. My app has employees and employers. I want to prevent employees from cheating and prevent them from clock in and out when they are not in specify area. There are some technologies like ip or HTML5 geo location API but they are not very powerful and in geo location API employee can send fake location from client-side to server-side. Employees clock in and out.

Is there any way to detect if employee is in specify area or is connected to same network as employer is, or any other idea?

  • Your app must ask users to share their location, so you can know where they are, and, if they refuse to share their location, you fire them. You cannot get the location without permission. – Jose Manuel Abarca Rodríguez Oct 21 '16 at 19:04
  • I know this idea, but this is not solution. How can I prevent employees from sending fake location on server-side? – نرم افزار حضور و غیاب Oct 21 '16 at 19:05
  • You will not ask "Please tell me your location". What you must do is make your app to get the GPS position from the operating system = http://stackoverflow.com/questions/25296691/swift-get-users-current-location-coordinates – Jose Manuel Abarca Rodríguez Oct 21 '16 at 19:08
  • 3
    Slap some ankle bracelets on them and call it a day. You trust these employees so little that you want to lock down where they can clock in/out from? What if they forget to clock out at the end of the day and remember once they get home? Now you are forcing them to clock out even more inaccurately. This is not a technological issue but a social one. – MonkeyZeus Oct 21 '16 at 19:11
  • Why not just serve the app internally on the network? Then they can't access it from anywhere else? – M. Eriksson Oct 21 '16 at 19:14
  • @MagnusEriksson And if I want to clock in/out on my phone? What do you suggest for construction site employees whose location is always changing? – MonkeyZeus Oct 21 '16 at 19:16
  • @Magnus Eriksson because it is an web app or SAAS. – نرم افزار حضور و غیاب Oct 21 '16 at 19:16
  • Then just check the IP of the use and compare it to the employers IP? (since you wanted to see if they were on the same network). Regarding GPS-position, that is not always 100% and can be way off (in cities with high buildings, for example or other areas where there are a lot of signal bouncing and objects disturbing). – M. Eriksson Oct 21 '16 at 19:20
  • There will always be work-arounds to anything. Trust geo location and you're going to have people sending fake locations. Trust the ip address and you're going to have people tunneling through proxies. I'm with MonkeyZeus. Make it easy and convenient, and build trust with them so they won't cheat the system. – skagzilla Oct 21 '16 at 21:43
  • @skagzilla I am not agree with "build trust with them so they won't cheat the system". How can I trust them without practical validation? – نرم افزار حضور و غیاب Oct 22 '16 at 07:18

0 Answers0