Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      OpenProject ID Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Updated by Wieland Lindenthal over 2 years ago

OpenProject's front-end needs to allow the browser to connect to Extend CSP `connect-src` with all addresses of external file servers for direct file uploads. Therefore it needs to extend its content security policy (CSP) \`connect-src\` by storages where

*
the host names of all servers that the current user storage is allowed to upload files. That is the case for all storages that activated active in at least one active project in which where the current user is member and has the permission to \`manage\_file\_links\`. `manage_file_links` (other storages are not exposed)
*
The allowed values can be different for every appended bit gets cached per user and can change every time a store gets activated, removed, a role changes, or even project memberships. Caching it, without accessing the DB seems to be pretty impossible. So we decided to not do it for now.

We extend the CSP for all HTML requests as work packages can pop in many places of OpenProject, and we want to be able to upload in all those places (work packages module, BCF module, notification center, boards, ...).
10 seconds
Loading...