SKILL

django-security

Django security best practices, authentication, authorization, CSRF protection, SQL injection prevention, XSS prevention, and secure deployment configurations.

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original Japanese text

Topics in the source

  • Django セキュリティベストプラクティス
  • いつ有効化するか
  • 核となるセキュリティ設定
  • 本番設定の構成
  • 認証
  • カスタムユーザーモデル
  • パスワードハッシング
  • セッション管理

一般的な脆弱性から保護するためのDjangoアプリケーションの包括的なセキュリティガイドライン。 Django認証と認可を設定するとき ユーザー権限とロールを実装するとき 本番セキュリティ設定を構成するとき Djangoアプリケーションのセキュリティ問題をレビューするとき Djangoアプリケーションを本番環境にデプロイするとき | チェック | 説明 | |-------|-------------| | DEBUG = False | 本番環境でDEBUGを決して実行しない | | HTTPSのみ | SSLを強制、セキュアクッキー | | 強力なシークレット | SECRETKEYに環境変数を使用 | | パスワード検証 | すべてのパスワードバリデータを有効化 | | CSRF保護 | デフォルトで有効、無効にしない | | XSS防止 | Djangoは自動エスケープ、ユーザー入力で \|safe を使用しない | | SQLインジェクション | ORMを使用、クエリで文字列を連結しない | | ファイルアップロード | ファイルタイプとサイズを検証 | | レート制限 | APIエンドポイントをスロットル | | セキュリティヘッダー | CSP、X-Frame-Options、HSTS | | ログ記録 | セキュリティイベントをログ | | 更新 | DjangoとDependenciesを最新に保つ | 覚えておいてください: セキュリティは製品ではなく、プロセスです。定期的にセキュリティプラクティスをレビューし、更新してください。

Source repository
affaan-m/ECC
Source file
docs/ja-JP/skills/django-security/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:49.144Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.