Archived
What are the best practices to follow in terms of security when exposing a Node HTTP server?
-1
Community Evaluations
Auteur anonyme
28/04/2023
Étant donné qu'on ne précise pas de quelle type de sécurité il s'agit, il faut accepter aussi la réponse "Ne pas servir sur le port par défaut (80)". Les certificats SSL étant désormais gratuits, c'est exposer inutilement les clients à de gros risques que d'utiliser un protocole en clair.
Similar QuestionsMore questions about NodeJS
7
How to define a global variable with Node.js?3
Parse a query string into an object in NodeJS2
How to get the result of 3 asynchronous functions in NodeJS2
Write a NodeJS server that returns a different message depending on the route.2
Which of these 4 solutions for serving a very large file will be the most optimized in terms of _server resources_ and _loading speed for the client_?