Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configurable connect-src in CSP settings to address proxy and file upload issues #3644

Open
agatha197 opened this issue Feb 10, 2025 — with Lablup-Issue-Syncer · 0 comments

Comments

@agatha197
Copy link
Contributor

Problem Description

Several users have reported issues related to proxy connections not working and file uploads failing within our web application. After an initial investigation, it appears that these problems might be stemming from restrictive Content Security Policy (CSP) settings, specifically the connect-src directive which controls which URLs the app can connect to.

Proposed Solution

To address this issue and provide a more flexible web security configuration, it is proposed to make the connect-src directive in the CSP settings configurable through environmental settings. This would allow administrators to adjust the policy to accommodate different deployment scenarios, such as allowing connections to specific proxies or enabling file uploads to certain domains.

Expected Benefits

  • Flexibility: Administrators will have the ability to tailor the CSP settings to their specific needs, enhancing the applicability of our web application across various environments.
  • Enhanced Functionality: By configuring the connect-src directive to allow specific connections, we can resolve the issues related to proxy connections and file uploads, improving the overall user experience.
  • Security: Making connect-src configurable doesn't compromise security as administrators can set strict policies according to their security requirements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant