Monday 30 September 2019

REST or Socket for Browser Based Game?

Hello everyone,I'm currently trying to build a smalll browser based MMO and need some advice. Let me preface this by saying I'm a frontend guy, and not too experienced with backend & security.Currently what I have is a React frontend & Express/Mongo REST server for the API. I'm using a JWT token to authorize API calls.I'm concerned that having endpoints that the users can potentially exploit might cause problems in the future.I don't know what best practice is but do you think having a socket connection rather than a REST API would be a more secure solution?

Submitted October 01, 2019 at 03:44AM by ObviouslyNotANinja

No comments:

Post a Comment