14.07.2014, 16:37
A pretty simple way would be to, in addition to just checking the IP/port, add a certain unique key with the request.
When adding a new server to your web API, generate a key and put it in the database together with the IP. Then add that key to the server and add it to the post/get data of your request.
When adding a new server to your web API, generate a key and put it in the database together with the IP. Then add that key to the server and add it to the post/get data of your request.