open-webui/backend/open_webui/utils
Diwakar 541ff6b41a
Feature to set HTTP header "Content-Security-Policy"
Introduce CONTENT_SECURITY_POLICY environment variable to set HTTP header "Content-Security-Policy".

Content Security Policy (CSP) is a feature that helps to prevent or minimize the risk of certain types of security threats. It consists of a series of instructions from a website to a browser, which instruct the browser to place restrictions on the things that the code comprising the site is allowed to do.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
2024-11-30 21:31:54 +07:00
..
access_control.py
logo.png
misc.py
oauth.py
payload.py
pdf_generator.py
response.py
security_headers.py Feature to set HTTP header "Content-Security-Policy" 2024-11-30 21:31:54 +07:00
task.py enh: autocompletion 2024-11-30 00:29:27 -08:00
tools.py feat: add description in Tool 2024-11-23 11:22:12 +01:00
utils.py
webhook.py