Web Frontends [GL ARC]
All browser-based frontends of an Enterprise MAM Solution follow the same architecture pattern:
All communication between the browser and the backend must go via the endpoint from which the web application has been loaded to the browser. This serves two purposes:
All modern browsers prevent cross-origin requests by default. This could be addressed by using the proper CORS configuration on the backend side. However, when multiple frontends want to connect to the same backends, CORS configuration of these backend either gets more and more complicated; or you open up security holes. Therefore, CORS configuration needs to be avoided in an Enterprise MAM solution.
In enterprise environments frontends and backend usually are located in different networks or network segments with a firewall in between. Opening up the firewall for all backends is not only cumbersome, it also increases the security risks as many backend endpoints are directly reachable from the user network. The reverse proxy can restrict access to the required backends tailored to the need of the frontend and thus does not need to expose the full API of the backend.
In a Kubernetes-based environment the reverse proxy functionality is provided by the ingress controllers which are in place in all Enterprise MAM installations. In other scenarios standard components like nginx can be used to serve this purpose.