Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Help 

MySQL Database - Auth

Hi all, I want to know how to connect a MySQL Database with a C# application. I would like to make a secure authentication for my product. Thanks - CocoCoding :)
Do NOT connect via your application.
Use a webserivce to communicate with the database.
(Aug 18, 2017 06:59 PM)Charger Wrote:  Do NOT connect via your application.
Use a webserivce to communicate with the database.
Are there any performance advantages to connecting via a web service?
What service would you recommend?

[Image: tlTStiX.png]

(Aug 20, 2017 05:33 AM)Fire Wrote:  Are there any performance advantages to connecting via a web service?
What service would you recommend?
Your database details are not exposed to the end user nor are they vulnerable to a MITM attack.
(Aug 20, 2017 02:48 PM)Charger Wrote:  Your database details are not exposed to the end user nor are they vulnerable to a MITM attack.
That's the primary reason, I asked for the performance aspect of it..

[Image: tlTStiX.png]

(Aug 21, 2017 05:50 AM)Fire Wrote:  That's the primary reason, I asked for the performance aspect of it..

It's easier to manage the data in my opinion.
Connecting to an online DB from client application is the worst idea ever, it's just like handing out your DB logins and telling people to screw it for you.
As charger said, create a web service that connects to the DB, that's more secure.
But, if you really have to connect from client, it's possible to create a DB user that has no query execution write or whatever other rights, except for executing some stored procedures that do the querying. still it's a very bad practice and should only be used in certain environments.
Have a cool signature? hit me up and I might use it.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[DBMS] by Luffy-_-May 9, 2022 01:51 AM 3 174 May 9, 2022 01:51 AM
Last Post: MTech Rev
by SIM-964740Jul 20, 2020 04:52 PM 6 146 Jul 20, 2020 04:52 PM
Last Post: pointandlaugh
[DBMS] by Elite Hacker 69Apr 17, 2017 04:22 AM 5 334 Apr 17, 2017 04:22 AM
Last Post: Haxalot