Answer the question
In order to leave comments, you need to log in
How to implement a database server?
Hello, I'm new, please don't swear.
I decided to make a program in C ++ with registration and authorization, and since it is impossible to leave data from the database in the program itself (reversing and everything else), the question arose, how to organize the protection of the connection to the database?
Learned that the gag between the client and a DB in the form of the server is necessary.
The question is: how to implement a database server, and what does that even mean?
Thank you!
Answer the question
In order to leave comments, you need to log in
Apparently, it means some kind of web application with its own API, so that all CRUD operations with the database are carried out through it. This is usually done. Showing passwords from the database in the client application is not very safe.
There are many options for the web, depending on your programming language preferences, the most popular are Java, PHP, Python, Node.js.
There is also a framework for creating web applications in pure C ++ from Microsoft - CppRestSDK - I myself used it once for a small project with a simple REST API and PostgreSQL. There are others:
https://www.webtoolkit.eu/wt
siliconframework.org
https://github.com/oatpp/oatpp
Here is a good list:
https://github.com/fffaraz/awesome-cpp#web- application...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question