K
K
Konstantin Podyganov2019-06-04 16:28:44
PHP
Konstantin Podyganov, 2019-06-04 16:28:44

How to securely load data from a database using AJAX?

How to securely load data from a database using AJAX?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
FanatPHP, 2019-06-04
@kpodyganov

JSON

D
Dmitry Sviridov, 2019-06-04
@dimuska139

Your front should use ajax to interact with the PHP/Python backend or something else, exchanging data in json format. And the backend, in turn, must interact with the base. That is, the question is formulated not quite correctly.
As for security, there must be a normal password to connect to the database, the user is not root, and it is also desirable that there is a list of allowed IPs to connect to the database, so that anyone from anywhere could not get into the database.

A
Adamos, 2019-06-04
@Adamos

Render turned off the music
"A complete description of the system ... will take at least six solid volumes - in German," he decided.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question