Gambit Posted January 21, 2021 Share Posted January 21, 2021 Hi there I'm current working on a web app for us to manage and view livestreams. The IP address of of the app will change all the time depending on where we are connecting from. How do we approach REST security when we cannot always have the same IP address? Thanks Link to comment Share on other sites More sharing options...
0 Ben Holness Posted January 21, 2021 Share Posted January 21, 2021 It seems surprising that your IP address will change all the time. Are you using dynamic DNS to get to the web page? Most of the time, the REST API would be called from the server which would have a static IP, and shouldn't need to be called directly from the client. That said, I don't know what you are trying to achieve, so maybe this is not the case for you. Depending on your setup, you could either use your webserver (or another server that has a static IP) as a proxy for requests, implementing your own security between the app and the proxy, or you could setup a VPN and run all REST API requests via the VPN. Link to comment Share on other sites More sharing options...
0 Enes Kuluk Posted January 21, 2021 Share Posted January 21, 2021 Some of the ISP's offer static IP's. You can ask for that. Best Regards, Enes. Link to comment Share on other sites More sharing options...
0 Connessione Posted January 31, 2021 Share Posted January 31, 2021 For REST API it is best to use token based security than IP based security. Any reason why you cannot use a token based security here ? Link to comment Share on other sites More sharing options...
Question
Gambit
Hi there
Link to comment
Share on other sites
Top Posters For This Question
1
1
1
1
Popular Days
Jan 21
3
Jan 31
1
Top Posters For This Question
Ben Holness 1 post
Gambit 1 post
Connessione 1 post
Enes Kuluk 1 post
Popular Days
Jan 21 2021
3 posts
Jan 31 2021
1 post
3 answers to this question
Recommended Posts