Skip to content

[JENKINS-41891] Serve static files from second domain as an alternative to setting CSP #21865

Description

@jenkins-infra-bot

Dealing with Content-Security-Policy is just too annoying, and there's too many plugins trying to just serve static files in Jenkins, often for no real reason.

We need second domain support for static resources (DirectoryBrowserSupport) such that accessing that is possible without authentication, just with a token, and that token is used for linked resources as well.


Originally reported by danielbeck, imported from: Serve static files from second domain as an alternative to setting CSP
  • assignee: danielbeck
  • status: Closed
  • priority: Major
  • component(s): core
  • label(s): security
  • resolution: Fixed
  • resolved: 2019-10-17T06:58:27+00:00
  • votes: 2
  • watchers: 8
  • imported: 2025-11-24
Raw content of original issue

Dealing with Content-Security-Policy is just too annoying, and there's too many plugins trying to just serve static files in Jenkins, often for no real reason.

We need second domain support for static resources (DirectoryBrowserSupport) such that accessing that is possible without authentication, just with a token, and that token is used for linked resources as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions