14
Securing the Application
In the previous chapter, we saw how a set of techniques can be used to prevent micro frontends from leaking styles. While styling is certainly one aspect that needs to be considered to have separately created micro frontends all running in one application, the scripts and overall logic also need to be considered. Unlike CSS, there is no direct solution to the problem of missing script isolation.
In this chapter, we’ll introduce the various security aspects that come into play when combining applications from multiple sources under a single runtime. Problems can be partially reduced by delegates and runtime isolation. However, in many cases, such techniques cannot be applied – at least for all relevant micro frontends. ...
Get The Art of Micro Frontends - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.