Block download of components when violating policy

Instead of a header, please consider using the RFC9457 mechanism. It’s widely supported by HTTP client libraries and offers the ability to include structured data in the response, unlike a response header.

1 Like