Django でのカスタムユーザー認証 [Python]
Django のユーザー認証システムのデータじゃないデータを使って認証したい。
これ↓の認証バックエンドを作成する・・・のがいいのかどうかよくわからない
http://docs.nullpobug.com/django-doc-ja/trunk/topics/auth.html#topics-auth
SessionMiddleWare をインストールしておけば、認証通ってなくても
セッション変数 request.session が参照できそうなので、セッション変数とか DB のデータとか使って認証できる気がするんだが・・・
views.py の関数に decorator かませれば必要なことはできそうな気がするんだけど、カスタム認証バックエンドを書くのってそんなにうれしいことがあるのかな。
・・・というようなことを考えたことをメモっておく
(5/8追記)
Djangoのパーミッションテーブルを更新するスクリプト
http://blog.hori-uchi.com/2010/03/django.html
Django用HTTP認証ミドルウェア
http://omake.accense.com/wiki/DjangoHttpAuthMiddleware
これ↓の認証バックエンドを作成する・・・のがいいのかどうかよくわからない
http://docs.nullpobug.com/django-doc-ja/trunk/topics/auth.html#topics-auth
SessionMiddleWare をインストールしておけば、認証通ってなくても
セッション変数 request.session が参照できそうなので、セッション変数とか DB のデータとか使って認証できる気がするんだが・・・
views.py の関数に decorator かませれば必要なことはできそうな気がするんだけど、カスタム認証バックエンドを書くのってそんなにうれしいことがあるのかな。
・・・というようなことを考えたことをメモっておく
(5/8追記)
Djangoのパーミッションテーブルを更新するスクリプト
http://blog.hori-uchi.com/2010/03/django.html
Django用HTTP認証ミドルウェア
http://omake.accense.com/wiki/DjangoHttpAuthMiddleware
I have read all the comments and suggestions posted by the visitors for this article are very fine, We will wait for your next article so only. Thanks!
https://www.gostopsite.com
by GOSTOPSITE33 (2021-10-18 18:23)
Yes I am totally agreed with this article and I just want say that this article is very nice and very informative article. I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks
https://www.totositeweb.pro
by TOTOSITEWEB33 (2021-10-18 18:23)
I was just looking for this information for some time. After six hours of continuous Googleing, finally I got it in your website. I wonder what’s the lack of Google strategy that do not rank this type of informative sites in top of the list. Generally the top sites are full of garbage.
https://www.totosafedb.com
by TOTOSAFEDB33 (2021-10-18 18:24)
Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!
https://www.19guide03.com
by GUIDE1903 (2021-10-18 18:24)
How amazing this article is!!! It is the article which can help me to look back on myself while reading an article about, and to grow in the future rather than always beating myself up and staying in one place. https://totomargin.com
by https://totomargin.com (2023-03-23 10:35)
I think your knowledge is being developed. This has nice points of the subject. Everything makes sence, and thank you for sharing this article.
by 메이저토토사이트 (2023-05-04 16:37)
How could such an excellent person write such an excellent post? Your unique perspective and profound knowledge are truly admirable. I am really glad to see this post.
https://totovera.com
by 검증사이트 (2023-06-27 10:40)