Exposing the console's functionality to the local network is not the brightest idea. It's not hard for someone's little brother to shut down your console during a game save...
So, I have some ideas of how we can make it harder for other people on the network to try to control the console.
My ideas:
- A secret phrase, stored on a file on the FS that must be sent as a flag with each HTTP request (technically with something like Wireshark, it's still easy to find, but it's a step from basic requests). This could either be generated randomly or the user can set one.
- A list of IP addresses to respond to, like a whitelist
Exposing the console's functionality to the local network is not the brightest idea. It's not hard for someone's little brother to shut down your console during a game save...
So, I have some ideas of how we can make it harder for other people on the network to try to control the console.
My ideas: