per page, with , order by , clip by
Results of 1 - 9 of about 9 for directives (0.007 sec.)
コンテンツセキュリティポリシー 12312
コンテンツセキュリティポリシー New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection attacks by restricting the sources from which content can be loaded. It plays an important role ... s two complementary headers: Content-Security-Policy : Enforces the CSP policy, blocking content that violates the defined directives. Content-Security-Policy-Report-Only : Reports CSP violations without blocking content, allowing for non-intrusive testing ... . Each policy is composed of one or more directives and their values, which together instruct the browser on how to handle specific types of content. When the ContentSecurity ... immediate feedback during development. To also receive these reports programmatically, the policy must include a reporting directive such as report-uri that specifies where violation data should be sent. Django supports configuring these directives via the ...
https://man.mtool.work/django/6.1/ref/csp.html
Django 5.2.15 release notes 10659
Django 5.2.15 release notes June 3, 2026 Django 5.2.15 fixes five security issues with severity "low" in 5.2.14. CVE-2026-6873: Signed cookie salt namespace collision get_signed_cookie() derived the signing salt by concatenating the cookie ... cording to the Django security policy . CVE-2026-8404: Potential exposure of private data via case-sensitive Cache-Control directives UpdateCacheMiddleware and cache_page() incorrectly cached responses marked with private Cache-Control directives when usin ... (e.g. Private ). The cache_control() decorator and patch_cache_control() function were not affected, since they normalize directives to lowercase. This issue only affects responses where Cache-Control is set manually. This issue has severity "low" accordi ...
https://man.mtool.work/django/6.1/releases/5.2.15.html
Django 6.0.6 release notes 10407
Django 6.0.6 release notes June 3, 2026 Django 6.0.6 fixes five security issues with severity "low" and one bug in 6.0.5. Also, the latest string translations from Transifex are incorporated. CVE-2026-6873: Signed cookie salt namespace coll ... cording to the Django security policy . CVE-2026-8404: Potential exposure of private data via case-sensitive Cache-Control directives UpdateCacheMiddleware and cache_page() incorrectly cached responses marked with private Cache-Control directives when usin ... (e.g. Private ). The cache_control() decorator and patch_cache_control() function were not affected, since they normalize directives to lowercase. This issue only affects responses where Cache-Control is set manually. This issue has severity "low" accordi ...
https://man.mtool.work/django/6.1/releases/6.0.6.html
How to use Django's Content Security Policy 10155
How to use Django's Content Security Policy Basic config Content Security Policy (CSP) を有効にするには、Django プロジェクトで次のように設定します: Add the CSP middleware to your MIDDLEWARE setting: MIDDLEWARE = [ # ... "django.middleware.c ... two: from django.utils.csp import CSP # To enforce a CSP policy: SECURE_CSP = { "default-src" : [ CSP . SELF ], # Add more directives to be enforced. } # Or for report-only mode: SECURE_CSP_REPORT_ONLY = { "default-src" : [ CSP . SELF ], # Add more directi ... config, you need to: Include the NONCE placeholder value in the CSP settings. This only applies to script-src or style-src directives: from django.utils.csp import CSP SECURE_CSP = { "default-src" : [ CSP . SELF ], # Allow self-hosted scripts and script ta ...
https://man.mtool.work/django/6.1/howto/csp.html
設定 7603
設定 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用したい機能に必要なコンポーネントを保持するようにしてください。 コアの設定 ここでは、Django の cor ... リシー (Cross-Origin Opener Policy) ヘッダを設定します。 SECURE_CSP New in Django 6.0. Default: {} This setting defines the directives used by the ContentSecurityPolicyMiddleware , which generates and adds a Content-Security-Policy (CSP) header to all respo ... The setting must be a mapping (typically a dictionary) of directive names to their values. Each key should be a valid CSP directive such as default-src or script-src . The corresponding value can be a list, tuple, or set of source expressions or URLs to a ... rc" : [ CSP . SELF ], "img-src" : [ "data:" , CSP . SELF , "https://images.example.com" ], "frame-src" : [ CSP . NONE ], } Directives validation Django's CSP middleware helps construct and send the appropriate header based on your settings, but it does not ...
https://man.mtool.work/django/6.1/ref/settings.html
Django におけるセキュリティ 7603
Django におけるセキュリティ このドキュメントは、Django のセキュリティ機能の概要です。Django を利用したサイトを安全なものにするためのヒントを説明します。 Real-world security Django's web security implementations have been designed with secur ... d debugging. For configuration instructions, see the Using CSP documentation, and refer to the CSP overview for details on directives and settings. Limitations and considerations While CSP is a powerful security mechanism, it's important to understand its ... onments, measure the performance impact accordingly. Browser support: While CSP Levels 1 and 2 are widely supported, newer directives (CSP Level 3+) or complex policy behaviors may vary across browsers. Test your policy across the environments you intend t ...
https://man.mtool.work/django/6.1/topics/security.html
ドキュメントを書く 7477
ドキュメントを書く 私たちはドキュメントの一貫性と読みやすさを重要視しています。結局のところ、Django はジャーナリズムの環境で作られました!ですから、私たちはコードを扱うようにドキュメントを扱います。できるだけ頻繁に改善することを目指しています ... er. For example, use :cve:`2019-14232` . When documenting Python objects (classes, methods, attributes, etc.) using Sphinx directives such as .. class:: , .. method:: , and .. attribute:: , all content must be properly indented to ensure correct rendering ... ext under the directive must be indented by 4 spaces. Multi-line descriptions must keep the same indentation level. Nested directives (for example, methods inside a class) require an additional 4 spaces of indentation to maintain hierarchy. Field lists (su ...
https://man.mtool.work/django/6.1/internals/contributing/writing-documentation.h...
GeoDjango フォーム API 7477
GeoDjango フォーム API GeoDjango はジオローカライズされたデータを地図上に視覚的に表示・編集するために、いくつかの特殊なフォームフィールドとウィジェットを提供します。デフォルトでは、 NASA が提供する WMS レイヤーをベースとした OpenLayers を利 ... LayersWidget ) and the OpenStreetMap tile servers must be allowed: from django.utils.csp import CSP SECURE_CSP = { # other directives "img-src" : [ CSP . SELF , "https://tile.openstreetmap.org" ], } Changed in Django 6.0: The OSMWidget no longer uses a cus ...
https://man.mtool.work/django/6.1/ref/contrib/gis/forms-api.html
セキュリティ上の問題のアーカイブ 7100
セキュリティ上の問題のアーカイブ Django の開発チームは、 Django のセキュリティポリシー にしたがって、セキュリティに関わる問題を、責任を持って積極的に公表しています。 この活動の一部として、修正・公開した問題の履歴リストをメンテナンスしていま ... patch) Django 5.2 (patch) June 3, 2026 - CVE 2026-8404 Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware . Full description Django 6.1 (patch) Django 6.0 (patch) Django 5.2 (patch) June 3, 2026 - CVE 20 ...
https://man.mtool.work/django/6.1/releases/security.html
PREV 1 NEXT