I am creating an application in C # this, it connects to a remote MySQL server, I have enabled for any IP to have access to my DB with a read-only user.
My question is: Is there a way in the WebService to authenticate the user in a way that I do not have to leave my DB with remote access turned on for all the ips and only localhost?
(it accesses a page that if log returns a token of the type)