Securing The Endpoint
There are a couple options on how to write code to secure the Service Endpoint Page
Validate that the request.UserHostAddress to make sure the request originates from a known ip address. This pattern is useful if purpose of the endpoint is to receive data from another program on a known server.
Added a basic authentication token to the request.header, which we validate in the page.