per page, with , order by , clip by
Results of 1 - 10 of about 65 for Cookie (0.004 sec.)
セッションの使いかた 11308
セッションの使いかた Django は、匿名のセッションをフルサポートしています。このセッションフレームワークを使えば、任意のデータを、サイトの訪問者ごとに保存し、取得できます。データはサーバー側に保存され、クッキーの送受信によって抽象化します。ク ... キーを使ったセッション クッキーを使ったセッションを使用するには、 SESSION_ENGINE を "django.contrib.sessions.backends.signed_cookies" に設定します。セッションデータは、 暗号化署名 のための Django のツールと SECRET_KEY を使って保存されます。 注釈 保存され ... たデータに JavaScript からアクセスできないように、 SESSION_COOKIE_HTTPONLY を True に設定しておくことをおすすめします。 警告 このセッションデータは、署名はされていますが、暗号化はされていま ... たとしても、そのクッキーを使ってユーザになりすますことができてしまいます。クッキーが「古くなった」と判断できるのは、 SESSION_COOKIE_AGE を過ぎた場合だけだからです。 パフォーマンス 最後に、クッキーのサイズが大きくなると、サイトの速度にも大きな影響がありま ...
https://man.mtool.work/django/6.1/topics/http/sessions.html
Django 5.2.16 release notes 10606
Django 5.2.16 release notes July 7, 2026 Django 5.2.16 fixes three security issues with severity "low" in 5.2.15. CVE-2026-48588: Potential exposure of private data via cached Set-Cookie response UpdateCacheMiddleware and cache_page() avoid ... ed caching responses that set a cookie while varying on Cookie only when the incoming request contained no cookies at all. When the request already carried an un ... related cookie (such as a language or theme preference cookie), the protection did not apply, allowing a response that sets a session or ... other sensitive cookie to be stored in Django's shared cache. This issue has severity "low" according to the Django security policy . CVE-2026-53 ...
https://man.mtool.work/django/6.1/releases/5.2.16.html
Django の CSRF 保護を利用する 10334
Django の CSRF 保護を利用する CSRF 対策をあなたのビューで有効にするには、以下の手順に従ってください: The CSRF middleware is activated by default in the MIDDLEWARE setting. If you override that setting, remember that 'django.middleware.csrf. ... 提供しているので、普通は簡単に設定できます。 まず、CSRFトークンを取得する必要があります。これは、 CSRF_USE_SESSIONS と CSRF_COOKIE_HTTPONLY の設定が有効になっているかどうかによって異なります。 CSRF_USE_SESSIONS と CSRF_COOKIE_HTTPONLY が False に設定され ... です。これは、上記で概説したようにビューに対する CSRF 保護を有効化した場合にセットされます。 デフォルトでは、CSRF トークンの cookie は csrftoken という名前ですが、 CSRF_COOKIE_NAME の設定を通じて変更することができます。 以下のようにしてトークンを取得でき ... ます: function getCookie ( name ) { let cookieValue = null ; if ( document . cookie && document . cookie !== '' ) { const cookies = document . cook ...
https://man.mtool.work/django/6.1/howto/csrf.html
Django 6.0.7 release notes 10334
Django 6.0.7 release notes July 7, 2026 Django 6.0.7 fixes three security issues with severity "low" and one bug in 6.0.6. CVE-2026-48588: Potential exposure of private data via cached Set-Cookie response UpdateCacheMiddleware and cache_pag ... e() avoided caching responses that set a cookie while varying on Cookie only when the incoming request contained no cookies at all. When the request already carried an un ... related cookie (such as a language or theme preference cookie), the protection did not apply, allowing a response that sets a session or ... other sensitive cookie to be stored in Django's shared cache. This issue has severity "low" according to the Django security policy . CVE-2026-53 ...
https://man.mtool.work/django/6.1/releases/6.0.7.html
設定 9561
設定 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用したい機能に必要なコンポーネントを保持するようにしてください。 コアの設定 ここでは、Django の cor ... 値: 600 キャッシュミドルウェア 用のページをキャッシュするデフォルトの秒数。 Django のキャッシュフレームワーク を参照。 CSRF_COOKIE_AGE デフォルト値: 31449600 (約1年、秒単位) CSRF クッキーの有効期間 (秒単位)。 長期間の有効期限を設定する理由は、ユーザーが ... None に変更すると、クッキーを永続的なストレージではなくメモリ内に保持するセッションベースのCSRFクッキーを使用します。 CSRF_COOKIE_DOMAIN デフォルト値: None The domain to be used when setting the CSRF cookie. This can be useful for easily allowing cross ... ドメイン攻撃から安全であることを意味するものではありません。詳細については、 CSRF の制限 セクションを参照してください。 CSRF_COOKIE_HTTPONLY デフォルト値: False CSRFクッキーに HttpOnly フラグを使用するかどうか。これが True に設定されている場合、クライアン ...
https://man.mtool.work/django/6.1/ref/settings.html
Django 1.4.11 リリースノート 9490
Django 1.4.11 リリースノート April 21, 2014 Django 1.4.11 fixes three security issues in 1.4.10. Additionally, Django's vendored version of six, django.utils.six , has been upgraded to the latest release (1.6.1). Unexpected code execution u ... cross-site request forgery (CSRF) attacks . The CSRF-protection system is based on a random nonce sent to the client in a cookie which must be sent by the client on future requests and, in forms, a hidden value which must be submitted back with the fo ... (i.e., unauthenticated) clients. When the first anonymous request to a given page is by a client which did not have a CSRF cookie, the cache framework will also cache the CSRF cookie and serve the same nonce to other anonymous clients who do not have a ... CSRF cookie. This can allow an attacker to obtain a valid CSRF cookie value and perform attacks which bypass the check for the cookie. ...
https://man.mtool.work/django/6.1/releases/1.4.11.html
Django 1.5.6 リリースノート 9490
Django 1.5.6 リリースノート April 21, 2014 Django 1.5.6 fixes several bugs in 1.5.5, including three security issues. Unexpected code execution using reverse() Django's URL handling is based on a mapping of regex patterns (representing the ... cross-site request forgery (CSRF) attacks . The CSRF-protection system is based on a random nonce sent to the client in a cookie which must be sent by the client on future requests and, in forms, a hidden value which must be submitted back with the fo ... (i.e., unauthenticated) clients. When the first anonymous request to a given page is by a client which did not have a CSRF cookie, the cache framework will also cache the CSRF cookie and serve the same nonce to other anonymous clients who do not have a ... CSRF cookie. This can allow an attacker to obtain a valid CSRF cookie value and perform attacks which bypass the check for the cookie. ...
https://man.mtool.work/django/6.1/releases/1.5.6.html
リクエストとレスポンスのオブジェクト 9203
リクエストとレスポンスのオブジェクト 簡単な概要 Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います。 あるページがリクエストされたとき、Django はリクエストに関するメタデータを含んだ HttpRequest ... ttpRequest.method を参照)。 POST には file-upload の情報が含まれ ません 。詳しくは FILES を参照してください。 HttpRequest. COOKIES すべてのクッキーが格納されたディクショナリです。キーと値は文字列です。 HttpRequest. FILES FILES は、アップロードされた全て ... d to redirect users to HTTPS, it's best to let your web server redirect all HTTP traffic to HTTPS. HttpRequest. get_signed_cookie ( key , default = RAISE_ERROR , salt = '' , max_age = None ) [ソース] 署名付きクッキーの値を返します。署名が無効である場合 ... 引数を提供した場合、例外は抑制され、代わりにそのデフォルト値が返されます。 The optional salt argument can be used to put the cookie into a separate signature namespace. If supplied, the max_age argument will be checked against the signed timestamp attach ...
https://man.mtool.work/django/6.1/ref/request-response.html
Django 1.8.2 リリースノート 9003
Django 1.8.2 リリースノート May 20, 2015 Django 1.8.2 fixes a security issue and several bugs in 1.8.1. Fixed session flushing in the cached_db backend A change to session.flush() in the cached_db session backend in Django 1.8 mistakenly se ... ts the session key to an empty string rather than None . An empty string is treated as a valid session key and the session cookie is set accordingly. Any users with an empty string in their session cookie will use the same session store. session.flush( ... '' ) the account details are set on the session and the session is saved. Any users with an empty string in their session cookie will now be logged into that account. バグ修正 Fixed check for template engine alias uniqueness ( #24685 ). Fixed crash wh ... unique_together や index_together ) を削除するときに、MySQL がクラッシュする問題を修正しました ( #24757 )。 Fixed session cookie deletion when using SESSION_COOKIE_DOMAIN ( #24799 ). On PostgreSQL, when no access is granted for the postgres database, ...
https://man.mtool.work/django/6.1/releases/1.8.2.html
Django 1.6.3 リリースノート 8788
Django 1.6.3 リリースノート April 21, 2014 Django 1.6.3 fixes several bugs in 1.6.2, including three security issues, and makes one backwards-incompatible change: Unexpected code execution using reverse() Django's URL handling is based on a ... cross-site request forgery (CSRF) attacks . The CSRF-protection system is based on a random nonce sent to the client in a cookie which must be sent by the client on future requests and, in forms, a hidden value which must be submitted back with the fo ... (i.e., unauthenticated) clients. When the first anonymous request to a given page is by a client which did not have a CSRF cookie, the cache framework will also cache the CSRF cookie and serve the same nonce to other anonymous clients who do not have a ... CSRF cookie. This can allow an attacker to obtain a valid CSRF cookie value and perform attacks which bypass the check for the cookie. ...
https://man.mtool.work/django/6.1/releases/1.6.3.html
PREV 1 2 3 4 5 6 7 NEXT