I'd like any responses to the HTTP request to be dependent on the client's IP address. That is, if the client has an authorized IP, we want the response to be delivered. However, if the IP is not authorized, we'd like there to be no response.
That's where I believe this script would come in. The script would check the header to validate the IP address.
I'm thinking of writing the script in either c# or python.
This is the way I picture the process to work:
- client makes an HTTP request
- script validates IP address
- if valid, response is allowed
- if not valid, response is suppressed and email alert is sent
My question is: is this possible?
I've been reading through the docs and I'm getting lost amongst the processors, the pipeline, and endpoints. I saw a mention that python was deprecated for ES5.0, so maybe using python is out.
Web development is not my strength, so my apologies if this question is nonsensical.