Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question