How to protect the database?

There is a website with a server database. I am creating a desktop application that uses data from one of the tables. A hacker can simply take the password from the assembly.

How to protect the database?

+3
source share
4 answers

I generally will not store database information in the application. Instead, I would create an API for the database on the website, perhaps using a RESTful interface or with queries that return data in the appropriate format, such as JSON, XML, or even plain text. The application can then call these web services and process the results. All information about your database remains on the server, where it (hopefully) is protected.

+14

API . , , webservice. , , .

:

  • .
  • , .

API, .

, , .

+1

A) . , , , . .

B) . , . . .

+1

, , .

, , . , .

0

Source: https://habr.com/ru/post/1722216/


All Articles