Results of 1 - 10 of about 24 for protect (0.030 sec.)
- クロスサイトリクエストフォージェリ (CSRF) 対策 — Django 4.0.6 ドキュメント 15829
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
推奨されませんが) もし対策を無効にする場合は、 csrf_protect() を使って特定のビューを保護することができます. (下 ...
特定のビューにおいて、(まったく同じ機能を持つ) csrf_protect デコレータを使えます。アウトプット内に CSRF トーク ...
ませんが、わずかにオーバーヘッドが増加します。 csrf_protect ( view ) ¶ ビューに対する CsrfViewMiddleware の保護 ...
nder from django.views.decorators.csrf import csrf_protect @csrf_protect def my_view ( request ): c = {} # .. ...
-
https://man.plustar.jp/django/ref/csrf.html
- [similar]
- ファイルのアップロード — Django 4.0.6 ドキュメント 10291
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
から、実際にそのリクエストを処理する関数上で、 csrf_protect() を使う必要があります。ハンドラは、CSRF チェックが ...
go.views.decorators.csrf import csrf_exempt , csrf_protect @csrf_exempt def upload_file_view ( request ): req ...
uest )) return _upload_file_view ( request ) @csrf_protect def _upload_file_view ( request ): ... # Process r ...
se csrf_exempt() on its dispatch() method and csrf_protect() on the method that actually processes the reques ...
-
https://man.plustar.jp/django/topics/http/file-uploads.html
- [similar]
- django.core.signing — Django 4.0.6 ドキュメント 8807
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
compression. This is included in the signature, to protect against zip bombs. Salt can be used to namespace t ...
compression. This is included in the signature, to protect against zip bombs. The serializer is expected to r ...
-
https://man.plustar.jp/django/_modules/django/core/signing.html
- [similar]
- 暗号署名 — Django 4.0.6 ドキュメント 8673
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ime secret URLs for allowing temporary access to a protected resource, for example a downloadable file that a ...
nsign ( signed ) >>> original '2.5' If you wish to protect a list, tuple, or dictionary you can do so using t ...
t ( signed_obj ) >>> obj {'message': 'Hello!'} See Protecting complex data structures for more details. 何らか ...
accept an integer or a datetime.timedelta object. Protecting complex data structures ¶ If you wish to protec ...
-
https://man.plustar.jp/django/topics/signing.html
- [similar]
- Django 1.2 リリースノート — Django 4.0.6 ドキュメント 8440
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
pired by Django's form validation. Vastly improved protection against Cross-Site Request Forgery (CSRF). A ne ...
en dropped. See the full notes below. The new CSRF protection framework is not backwards-compatible with the ...
in Django 1.4. However, upgrading to the new CSRF protection framework requires a few important backwards-in ...
compatible changes, detailed in CSRF Protection , below. Authors of custom Field subclasses sho ...
-
https://man.plustar.jp/django/releases/1.2.html
- [similar]
- Django におけるセキュリティ — Django 4.0.6 ドキュメント 8306
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
メインが存在すればそこにも 制限 が存在します。 CSRF protection works by checking for a secret in each POST req ...
here. By setting a Referrer Policy you can help to protect the privacy of your users, restricting under which ...
interact with the top-level window. If a document protected by COOP opens a cross-origin popup window, the p ...
opup's window.opener property will be null . COOP protects against cross-origin attacks. See the cross-origi ...
-
https://man.plustar.jp/django/topics/security.html
- [similar]
- django.db.utils — Django 4.0.6 ドキュメント 8056
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
cal. Database backends should use @async_unsafe to protect # their code from async contexts, but this will gi ...
-
https://man.plustar.jp/django/_modules/django/db/utils.html
- [similar]
- Django の例外 — Django 4.0.6 ドキュメント 8056
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
additional information provided. exception models. ProtectedError ¶ Raised to prevent deletion of referenced ...
objects when using django.db.models.PROTECT . models.ProtectedError is a subclass of Integrity ...
-
https://man.plustar.jp/django/ref/exceptions.html
- [similar]
- モデルフィールドリファレンス — Django 4.0.6 ドキュメント 7823
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t_delete signals are sent for all deleted objects. PROTECT ¶ Prevent deletion of the referenced object by rai ...
sing ProtectedError , a subclass of django.db.IntegrityError . ...
(a subclass of django.db.IntegrityError ). Unlike PROTECT , deletion of the referenced object is allowed if ...
-
https://man.plustar.jp/django/ref/models/fields.html
- [similar]
- 設定 — Django 4.0.6 ドキュメント 7823
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
cookie jar corrupted on disk, thereby causing CSRF protection checks to (sometimes intermittently) fail. Chan ...
xcluded from the normal cross site request forgery protection. It should be set to a string such as ".example ...
of this setting does not imply that Django's CSRF protection is safe from cross-subdomain attacks by default ...
SRF cookie as HttpOnly doesn't offer any practical protection because CSRF is only to protect against cross-d ...
-
https://man.plustar.jp/django/ref/settings.html
- [similar]