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 enh: file upload user permission 2024-11-16 21:41:34 -08:00
logo.png
misc.py refac 2024-10-06 14:52:12 -07:00
oauth.py fix: boolean values don't need to be accessed by .value 2024-10-25 09:44:03 +02:00
payload.py feat: arena models 2024-10-22 03:16:48 -07:00
pdf_generator.py fix: pdf issue w/ markdown 2024-10-28 05:47:53 -07:00
response.py refac 2024-10-21 13:45:28 -07:00
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 enh: option to disable api auth 2024-11-19 12:17:23 -08:00
webhook.py