Sunday, 4 December 2016

Might not be the right place, but have a cloud server socket io question

Say I have the client side of a socket io application in an electron build; ie, they are anywhere in the world (importantly, they are not on the cloud server). My implementation of the server logic is on an AWS instance.I have seen sparse documentation, mainly saying to just hit my AWS url directly with the client application, but how can I protect my server so that it can't be invoked without coming from the web app (on the server referencing localhost) or the client app (somewhere in the world, not sure how to reference server)?I have read some suggestions saying I should set up a reverse proxy with nginx, and while I understand (i think) how reverse proxies work, how would this solve my problem?Thank you!!

Submitted December 04, 2016 at 08:09PM by pengusdangus

No comments:

Post a Comment