I am working on a java program that creates a parental control system in my house with every computer linked to it. The basic way of communicating to the program what to do, is change a value to either "true" or "false", "yes" or "no", "on" or "off", etc. via GUIs and buttons, and the program will respond depending on the value set. My plan to link all the computers together is via LAN server which the program will sync to, and gather the input from. In the future I want to make a mobile app so you can control the PCs away from home, if you could supply a risk free method for setting up a WAN server (to make mobile connection possible) that would be a great bonus! Back to the main point: I'm not sure how to set up a local server. So that's my question today...
Main Question -
How do you set up a password protected LAN server that will communicate values to a program that calls on it with the right password?
Bonus Question -
How to you setup a safe, risk free, password protected WAN server will communicate values to a program that calls on it with the right password?