I am creating a proxy server that launches queries on sql server.
those. users "talk" with the proxy, and the proxy sends client requests to the sql server.
I am wondering how to block a proxy server if one of its clients sends requests that are not legal. In this case, the sql server blocks the proxy server, because ultimately the requests are sent from the proxy IP address. But other proxy clients will not be able to access the proxy server, as the proxy server will be blocked. I want to allow the proxy to work as usual, but rather block only the one who attacked.
Yakov source
share