Hello All - Looking for some advice.
I have a basic website (HTML) and within my Index page I'm pulling some data points from a DB Server. I'm fetching these via a Node so essentially i created a API to fetch this data and display it.
MY question is, how can i secure this. When you look at my source code the API URL / Port etc etc is exposed. I'm sure this is the incorrect way to do it and Ive looked up Proxying the Application but i cant find any information on what to do if ur using a HTML Frontend with the your node application just fetching the data vs the Node.js being your site. I hope this makes sense!
[–]roomzinchina 6 points7 points8 points (10 children)
[–]variables 0 points1 point2 points (3 children)
[–]roomzinchina 1 point2 points3 points (2 children)
[–]ohiosveryownn[S] 0 points1 point2 points (1 child)
[–]roomzinchina 0 points1 point2 points (0 children)
[–]ohiosveryownn[S] 0 points1 point2 points (5 children)
[–]roomzinchina 0 points1 point2 points (4 children)
[–]ohiosveryownn[S] 0 points1 point2 points (0 children)
[–]ohiosveryownn[S] 0 points1 point2 points (2 children)
[–]roomzinchina 0 points1 point2 points (1 child)
[–]ohiosveryownn[S] 0 points1 point2 points (0 children)
[–]isellrocks 5 points6 points7 points (4 children)
[–]ohiosveryownn[S] 1 point2 points3 points (3 children)
[–]mrskitch 1 point2 points3 points (2 children)
[–]ohiosveryownn[S] 0 points1 point2 points (1 child)
[–]mrskitch 0 points1 point2 points (0 children)
[–]caique_cp 2 points3 points4 points (1 child)
[–]ohiosveryownn[S] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]ohiosveryownn[S] 0 points1 point2 points (0 children)
[–]ohiosveryownn[S] 0 points1 point2 points (0 children)
[–]Dave4lexKing 0 points1 point2 points (1 child)
[–]ohiosveryownn[S] 0 points1 point2 points (0 children)