per page, with , order by , clip by
Results of 1 - 10 of about 133 for Auth (0.007 sec.)
Djangoにおけるパスワード管理 11588
Djangoにおけるパスワード管理 パスワード管理は一般的に、不必要に再発明されるべきではないものです。Djangoはユーザーのパスワードを管理するための安全で柔軟なツールセットを提供するよう努めています。このドキュメントでは、Djangoがパスワードを保存す ... 合、それを検証しようとすると ValueError が発生します。 デフォルトでの PASSWORD_HASHERS PASSWORD_HASHERS = [ "django.contrib.auth.hashers.PBKDF2PasswordHasher" , "django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher" , "django.contrib.auth.hashers.Argo ... n2PasswordHasher" , "django.contrib.auth.hashers.BCryptSHA256PasswordHasher" , "django.contrib.auth.hashers.ScryptPasswordHasher" , ] これは、Djangoは PBKDF2 を使用 ... asswordHasher を最初にリストアップします。つまり、設定ファイルに下記のように書きます: PASSWORD_HASHERS = [ "django.contrib.auth.hashers.Argon2PasswordHasher" , "django.contrib.auth.hashers.PBKDF2PasswordHasher" , "django.contrib.auth.hashers.PBKDF2SH ...
https://man.mtool.work/django/6.1/topics/auth/passwords.html
索引 11189
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... ontrib.gis.measure のクラス) aadd() (RelatedManager のメソッド) aaggregate() (django.db.models.query.QuerySet モジュール) aauthenticate() (django.contrib.auth モジュール) (ModelBackend のメソッド) (RemoteUserBackend のメソッド) Abs (django.db.models. ... erySet モジュール) accept_idna (DomainNameValidator の属性) accepts() (HttpRequest のメソッド) AccessMixin (django.contrib.auth.mixins のクラス) acheck_password() (django.contrib.auth.hashers モジュール) (models.AbstractBaseUser のメソッド) (models.U ... ackends.base.SessionBase のメソッド) AdminEmailHandler (django.utils.log のクラス) AdminPasswordChangeForm (django.contrib.auth.forms のクラス) ADMINS setting AdminSite (django.contrib.admin のクラス) AdminUserCreationForm (django.contrib.auth.forms ...
https://man.mtool.work/django/6.1/genindex.html
Django の認証方法のカスタマイズ 10670
Django の認証方法のカスタマイズ Django がデフォルトで提供する認証機能は、ほとんどの一般的なケースでは十分なものですが、デフォルトではニーズにマッチしない場合もあると思います。自分のプロジェクトで認証のカスタマイズを行うためには、Django が提 ... マイズしたモデルと 置換 したりできます。 There are community-maintained solutions! Django has a vibrant ecosystem. There are authentication and authorization solutions highlighted on the Community Ecosystem page. The Django Packages Authentication grid ... 認証バックエンドリファレンス を参照してください。 認証バックエンドを指定する Behind the scenes, Django maintains a list of "authentication backends" that it checks for authentication. When somebody calls django.contrib.auth.authenticate() -- as descri ... bed in How to log a user in -- Django tries authenticating across all of its authentication backends. If the first authentication method fails, Django tries the second one ...
https://man.mtool.work/django/6.1/topics/auth/customizing.html
Djangoの認証システムを使用する 9908
Djangoの認証システムを使用する このドキュメントでは、デフォルト設定でのDjangoの認証システムの使用方法を説明します。この設定は、タスクの適切な範囲を管理することで、最も一般的なプロジェクトのニーズにかなうよう徐々に発展してきました。そして、パ ... 変更が必要なプロジェクトのために、Djangoは認証システムの広範囲の 拡張とカスタマイズ をサポートします。 Djangoの認証は、認証 (authentication) 機能と認可 (authorization) 機能の両方を提供しています。そして、一般的に、これらの機能を合わせて認証システムと呼 ... ーザを作成する ユーザを作成する最も直接的な方法は、付属の create_user() ヘルパー関数を使うことです: >>> from django.contrib.auth.models import User >>> user = User . objects . create_user ( "john" , "lennon@thebeatles.com" , "johnpassword" ) # At this ... ードを変更するよう試みます。 You can also change a password programmatically, using set_password() : >>> from django.contrib.auth.models import User >>> u = User . objects . get ( username = "john" ) >>> u . set_password ( "new password" ) >>> u . save ...
https://man.mtool.work/django/6.1/topics/auth/default.html
REMOTE_USER で認証する 9655
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 authentic ... ation it typically provides the authenticated user as REMOTE_USER . In Django, this value is made available in request.META (as REMOTE_USER when supplied as an ... e using the RemoteUserMiddleware or PersistentRemoteUserMiddleware , and RemoteUserBackend classes found in django.contrib.auth . 設定 最初に次のように MIDDLEWARE 設定に django.contrib.auth.middleware.RemoteUserMiddleware を加える必要があります。これ ...
https://man.mtool.work/django/6.1/howto/auth-remote-user.html
Django 1.7.3 リリースノート 9292
Django 1.7.3 リリースノート January 13, 2015 Django 1.7.3 fixes several security issues and bugs in 1.7.2. WSGI header spoofing via underscore/dash conflation When HTTP headers are placed into the WSGI environ, they are normalized by conver ... ting to uppercase, converting all dashes to underscores, and prepending HTTP_ . For instance, a header X-Auth-User would become HTTP_X_AUTH_USER in the WSGI environ (and thus also in Django's request.META dictionary). Unfortunately, ... his means that the WSGI environ cannot distinguish between headers containing dashes and headers containing underscores: X-Auth-User and X-Auth_User both become HTTP_X_AUTH_USER . This means that if a header is used in a security-sensitive way (for i ... nstance, passing authentication information along from a front-end proxy), even if the proxy carefully strips any incoming value for X-Auth-User ...
https://man.mtool.work/django/6.1/releases/1.7.3.html
Django 1.4.18 リリースノート 8785
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 ... rmalized by converting to uppercase, converting all dashes to underscores, and prepending HTTP_ . For instance, a header X-Auth-User would become HTTP_X_AUTH_USER in the WSGI environ (and thus also in Django's request.META dictionary). Unfortunately, ... his means that the WSGI environ cannot distinguish between headers containing dashes and headers containing underscores: X-Auth-User and X-Auth_User both become HTTP_X_AUTH_USER . This means that if a header is used in a security-sensitive way (for i ... nstance, passing authentication information along from a front-end proxy), even if the proxy carefully strips any incoming value for X-Auth-User ...
https://man.mtool.work/django/6.1/releases/1.4.18.html
Django 1.6.10 リリースノート 8736
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 ... uppercase, converting all dashes to underscores, and prepending HTTP_ . For instance, a header X-Auth-User would become HTTP_X_AUTH_USER in the WSGI environ (and thus also in Django's request.META dictionary). Unfortunately, ... his means that the WSGI environ cannot distinguish between headers containing dashes and headers containing underscores: X-Auth-User and X-Auth_User both become HTTP_X_AUTH_USER . This means that if a header is used in a security-sensitive way (for i ... nstance, passing authentication information along from a front-end proxy), even if the proxy carefully strips any incoming value for X-Auth-User ...
https://man.mtool.work/django/6.1/releases/1.6.10.html
Django 1.6 リリースノート 8736
Django 1.6 リリースノート 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very dear friend and developer. Malcolm was a long-time contributor to Django, a model community mem ... t is possible to set django.db.models.Options.select_on_save flag to force saving to use the old algorithm. マイナーな機能 Authentication backends can raise PermissionDenied to immediately fail the authentication chain. The HttpOnly flag can be set o ... n phrase can be customized in HTTP responses using reason_phrase . When giving the URL of the next page for django.contrib.auth.views.logout() , django.contrib.auth.views.password_reset() , django.contrib.auth.views.password_reset_confirm() , and dja ... ngo.contrib.auth.views.password_change() , you can now pass URL names and they will be resolved. The new dumpdata --pks option specifies th ...
https://man.mtool.work/django/6.1/releases/1.6.html
複数のデータベース 8325
複数のデータベース ここでは、Djangoがサポートする複数データベースの扱いについて説明します。残りのDjangoのドキュメントの大部分は、あなたが一つのデータベース扱うことを前提としています。複数のデータベースを使いたいなら、いくつかの追加ステップを ... ベース利用戦略との相互作用も考慮されていません。 では、実際にはどうなのでしょうか?別のサンプル構成を考えてみましょう。1つは auth アプリケーション用で、他のアプリケーションはプライマリ/レプリカのセットアップを使用し、2つのリードレプリカを使用します。こ ... れらのデータベースを指定する設定は以下の通りです: DATABASES = { "default" : {}, "auth_db" : { "NAME" : "auth_db_name" , "ENGINE" : "django.db.backends.mysql" , "USER" : "mysql_user" , "PASSWORD" : "swordfish" ... b.backends.mysql" , "USER" : "mysql_user" , "PASSWORD" : "bacon" , }, } 次に、ルーティングを処理する必要があります。まず、 auth と contenttypes アプリのクエリを auth_db に送信するルーターが必要です ( auth モデルは ContentType にリンクされているので、 ...
https://man.mtool.work/django/6.1/topics/db/multi-db.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT