per page, with , order by , clip by
Results of 1 - 10 of about 40 for web server (0.003 sec.)
web (103), server (92)
メールを送信する 19930
メールを送信する Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework also supports swapping in different delivery mechanisms: you can direct email to the console ... or a file during development and an SMTP server or email service provider in production. コードは django.core.mail モジュールにあります。 簡単な例 簡単なメール送信には se ... ERS setting isn't defined). Use the MAILERS setting to tell Django how to send email. For example, to send through an SMTP server running on the local machine: MAILERS = { "default" : { "BACKEND" : "django.core.mail.backends.smtp.EmailBackend" , "OPTIO ... ail , [ to ]) msg . content_subtype = "html" # Main content is now text/html msg . send () Safely sending email Any public website that can send email will eventually be targeted by attempts to abuse it for spam, phishing, or other malicious content ...
https://man.mtool.work/django/6.1/topics/email.html
Django におけるセキュリティ 18681
Django におけるセキュリティ このドキュメントは、Django のセキュリティ機能の概要です。Django を利用したサイトを安全なものにするためのヒントを説明します。 Real-world security Django's web security implementations have been designed with secur ... ity for real-world applications in mind. Django is a general-purpose web application framework, and its defaults reflect this - they will not be the best solution for every particular case. Speci ... al cases deserve special attention to their needs. Web security requires a multi-layered approach. Securing only a single vector does not make a site secure overall, nor does a ... for cross-site request forgery, cache poisoning attacks, and poisoning links in emails. Because even seemingly-secure web server configurations are susceptible to fake Host headers, Django validates Host headers against the ALLOWED_HOSTS setting in th ...
https://man.mtool.work/django/6.1/topics/security.html
REMOTE_USER で認証する 17081
REMOTE_USER で認証する This document describes how to make use of external authentication sources in your Django applications. This type of authentication solution is typically seen on intranet sites, with single sign-on solutions such as I ... IS and Integrated Windows Authentication or Apache and mod_authnz_ldap , CAS , WebAuth , mod_auth_sspi , etc. When the web server takes care of authentication it typically provides the authenticated user a ... moteUserMiddleware must not be deployed in configurations where a client can supply the header. You must be sure that your web server or reverse proxy always sets or strips that header based on the appropriate authentication checks, never permitting ... d X-Auth_User (for example) both normalize to the HTTP_X_AUTH_USER key in request.META , you must also check that your web server doesn't allow a spoofed header using underscores in place of dashes. Under WSGI, this warning doesn't apply to RemoteUserM ...
https://man.mtool.work/django/6.1/howto/auth-remote-user.html
ロギング 16824
ロギング 参考 ロギングの設定と利用 Django のロギングの概要 Django の logging モジュールは Python の 組み込み logging モジュールを継承しています。 Logging は、一般的なDjangoの django.setup() 関数の一部として設定されているため、明示的に無効に ... デフォルトのログ記録条件の完全なセットは以下の通りです: DEBUG が True のとき: django ロガーは、 django ヒエラルキー ( django.server を除く) において、 INFO レベル以上のメッセージをコンソールに送信します。 DEBUG が False のとき: django ロガーは、 django ヒ ... エラルキー ( django.server を除く) において、 ERROR ないし CRITICAL レベルを AdminEmailHandler に送信します。 DEBUG の値にかかわらず: django.server ロ ... トのロギング設定を補完または置換する方法については、 ロギングを設定する を参照してください。 Django のロギング拡張 Djangoは、Web サーバー環境でのロギングの特別な要件を処理するための多数のユーティリティを提供しています。 ロガー Djangoはいくつかの組み込 ...
https://man.mtool.work/django/6.1/ref/logging.html
Django 1.3.6 リリースノート 15993
Django 1.3.6 リリースノート February 19, 2013 Django 1.3.6 fixes four security issues present in previous Django releases in the 1.3 series. This is the sixth bugfix/security release in the Django 1.3 series. Host header poisoning Some part ... ted from the HTTP Host header. Django's documentation has for some time contained notes advising users on how to configure web servers to ensure that only valid Host headers can reach the Django application. However, it has been reported to us that ... even with the recommended web server configurations there are still techniques available for tricking many common web servers into supplying the applica ... lidate or limit the form-count data provided by the client in a formset's management form, making it possible to exhaust a server's available memory by forcing it to create very large numbers of forms. In Django 1.3.6, all formsets have a strictly-enfo ...
https://man.mtool.work/django/6.1/releases/1.3.6.html
Django 1.4.4 リリースノート 15890
Django 1.4.4 リリースノート February 19, 2013 Django 1.4.4 fixes four security issues present in previous Django releases in the 1.4 series, as well as several other bugs and numerous documentation improvements. This is the fourth bugfix/se ... ted from the HTTP Host header. Django's documentation has for some time contained notes advising users on how to configure web servers to ensure that only valid Host headers can reach the Django application. However, it has been reported to us that ... even with the recommended web server configurations there are still techniques available for tricking many common web servers into supplying the applica ... lidate or limit the form-count data provided by the client in a formset's management form, making it possible to exhaust a server's available memory by forcing it to create very large numbers of forms. In Django 1.4.4, all formsets have a strictly-enfo ...
https://man.mtool.work/django/6.1/releases/1.4.4.html
JavaScript code 15269
JavaScript code While most of Django core is Python, the admin and gis contrib apps contain JavaScript code. Please follow these coding standards when writing JavaScript code for inclusion in Django. Code style Please conform to the indenta ... tation for information on the types of assertions supported by QUnit . テストの実行 The JavaScript tests may be run from a web browser or from the command line. Testing from a web browser To run the tests from a web browser, open up js_tests/tests.h ... e when running the tests, you need to view that file over HTTP. To view code coverage: ルートディレクトリで python -m http.server を実行してみてください。( js_tests の中ではなく) Open http://localhost:8000/js_tests/tests.html in your web browser. Tes ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/javascript...
はじめての Django アプリ作成、その 1 15262
はじめての Django アプリ作成、その 1 さあ、例を交えながら学んでゆきましょう。 このチュートリアルでは、簡単な投票 (poll) アプリケーションの作成に取り組ん でもらいます。 Poll アプリケーションは 2 つの部分からなります: ユーザが投票したり結果を ... 目次」に相当します。詳しくは URL ディスパッチャ を参照 してください。 mysite/asgi.py : プロジェクトをサーブするためのASGI互換Webサーバーとのエントリーポイントです。詳細については ASGI とともにデプロイするには を参照してください。 mysite/wsgi.py : プロジ ... ェクトをサーブするためのWSGI互換Webサーバーとのエントリーポイントです。詳細は WSGI とともにデプロイするには を参照してください。 開発用サーバー Djangoプロジェク ... ましょう。まだであれば、 djangotutorial ディレクトリに移動し、以下のコマンドを実行してください。 /  $ python manage.py runserver ...\> py manage.py runserver コマンドライン上で下記の出力が確認できるでしょう: Performing system checks... System check id ...
https://man.mtool.work/django/6.1/intro/tutorial01.html
Django 1.4.18 リリースノート 15254
Django 1.4.18 リリースノート January 13, 2015 Django 1.4.18 fixes several security issues in 1.4.17 as well as a regression on Python 2.5 in the 1.4.17 release. WSGI header spoofing via underscore/dash conflation When HTTP headers are place ... and Apache 2.4+ strip all headers containing underscores from incoming requests by default. Django's built-in development server now does the same. Django's development server is not recommended for production use, but matching the behavior of common ... production servers reduces the surface area for behavior changes during deployment. Mitigated possible XSS attack via user-supplied redirect ... a development aid. Now may be a good time to audit your project and serve your files in production using a real front-end web server if you are not doing so. バグ修正 To maintain compatibility with Python 2.5, Django's vendored version of six, djan ...
https://man.mtool.work/django/6.1/releases/1.4.18.html
Django 1.6.10 リリースノート 15254
Django 1.6.10 リリースノート January 13, 2015 Django 1.6.10 fixes several security issues in 1.6.9. WSGI header spoofing via underscore/dash conflation When HTTP headers are placed into the WSGI environ, they are normalized by converting to ... and Apache 2.4+ strip all headers containing underscores from incoming requests by default. Django's built-in development server now does the same. Django's development server is not recommended for production use, but matching the behavior of common ... production servers reduces the surface area for behavior changes during deployment. Mitigated possible XSS attack via user-supplied redirect ... a development aid. Now may be a good time to audit your project and serve your files in production using a real front-end web server if you are not doing so. Database denial-of-service with ModelMultipleChoiceField Given a form that uses ModelMulti ...
https://man.mtool.work/django/6.1/releases/1.6.10.html
PREV 1 2 3 4 NEXT