jmestwa-coder opened a new pull request, #1440:
URL: https://github.com/apache/wicket/pull/1440
## Summary
Add an opt-in method to apply stricter CSP directives for embedding and
plugin restrictions.
## Changes
* Introduce `enableStrictEmbeddingProtection()` in `CSPHeaderConfiguration`
* Adds:
* `frame-ancestors 'self'`
* `object-src 'none'`
## Why
* `frame-ancestors 'self'` limits embedding to the same origin (clickjacking
protection)
* `object-src 'none'` disables plugin-based content
* Keeping this opt-in avoids breaking existing applications
## Impact
* No default behavior changes
* Fully backward compatible
* Provides a simple way to enable stricter CSP when needed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]