DEV Community

Discussion on: What are micro frontends?

Collapse
 
vicnovais profile image
Victor Novais

Yep :( iframes have huge downsides like security and SEO. That's why the most fit technique must be picked by each company.

Collapse
 
mmcshinsky profile image
Michael McShinsky

When you say, "huge downsides like security", can you be more specific in what you are referring to?

Thread Thread
 
vicnovais profile image
Victor Novais

Hey Michael!! In terms of micro frontend maybe iframes don't expose big security problem as long as the same origin is preserved and the X-Frame-Options header is set. This mitigates attacks such as Clickjacking and XSS.