Front-ends and micro-frontends
The main peculiarity of front-end microservices is that they need a robust web server that is able to optimize all the request/response handling and ensure the needed level of security. Moreover, high-traffic applications also need a load balancer.
Examples of services offered by robust web servers like IIS, Apache, and NGINX are:
- Limiting access to just some file types and directories to prevent access to private files and to prevent remote file execution; that is, execution of server commands/scripts through web requests.
- Blocking dangerous requests that might cause access to unwanted files or directories (path-traversal attacks).
- Blocking requests that exceed a customizable length since they might cause a denial of service.
- Logging and IP address blocking to discover and contrast hacker attacks.
- Redirecting requests to the application associated with each URL.
- Queueing requests and assigning them to available...