c# - Backend for SQL Server -


i have created sql server , client (c#) directly queries server. problem feel not secure, because every client (say 5 different clients in total) has connection string , believe crucial vulnerability.

what best way create back-end sql server running on machine. sql server have accessible on internet various clients. best option c# application running library interpret calls client?

it never secure if allow clients crud without login, unsecure if pass connection string client, if not necessary.

the better practice implement more secure backend application wrap actions api (let's updateclientinfo()), database accesses go apis , allow client make use of api. in case connection string not transferred via internet.

when existing apis not suitable clients, kindly ask them pull request , implement request, instead of providing connection string them.

it necessary require clients provide user + password when access service.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -