K
K
knn77132020-08-22 17:20:50
Python
knn7713, 2020-08-22 17:20:50

How to display data from the database on an HTML page with limited access by ip?

There is a vps running a python script that writes information to a postrgesql database.
How can I display information from this database on a web page that would be accessible outside this server only for specific ip addresses?
I found only an example ( https://www.cyberforum.ru/python-web/thread1955997.html ) how to create a local html page with data from the database using the Python httpserver, but it is not clear how to do this on a remote server so that I can open this html page from your local machine and restrict the list of ips that have access to it?
Do not judge strictly, the first experience with the web

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2020-08-22
@knn7713

https://stackoverflow.com/questions/31320737/nginx...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question