is there a way to connect to a local host on a home server, or check a unique identifier of the connection that you are on in order to unlock features of an app?
There are client side ping solutions available. Take a look at these two:
- https://github.com/jdfreder/pingjs
- http://stackoverflow.com/questions/4282151/is-it-possible-to-ping-a-server-from-javascript
You can ping your home server and if you get back a reply, you can show the parts of the client that you had hidden.
Of course this is not a very secure solution, but I guess you are not strictly after security.
Thanks for the response. Iām looking to build a quick and dirty time-clock app for my workplace. Was thinking that I could have it only work on the company wifi and use a push notification on entry to the wifi if the person is not clocked in, and a push notification at the end of their scheduled shift to clock out.
1 Like