Skip to content

Add CSP 1.1 frame-ancestors support [SPR-12699] #17296

@spring-projects-issues

Description

@spring-projects-issues

Sébastien Deleuze opened SPR-12699 and commented

The purpose of this issue is adding CSP 1.1 frame-ancestors support in order to be able to enable Iframe based transports when an origin check is enabled.

X-Frame-Options: ALLOW-FROM uri is only supported by IE and Firefox. Chrome and Safari will support a similar functionality thanks to CSP 1.1 frame-ancestors. Currently, you still need to add flag to Chrome to enable frame-ancestors support (they seem to wait CSP 1.1 final to be published to make it available by default), and it is not yet supported in Safari. So until Safari and Chrome support it, we have to disable Iframe based transports when an origin check is specified by the user.

We should implement this when CSP 1.1 will supported by Safari and Chrome (I hope in 4.2 timeframe).


Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions