·django-security
!

django-security

affaan-m/everything-claude-code

Django 安全最佳實踐、身份驗證、授權、CSRF 保護、SQL 注入防護、XSS 防護和安全部署配置。

326安裝·27熱度·@affaan-m

安裝

$npx skills add https://github.com/affaan-m/everything-claude-code --skill django-security

SKILL.md

Comprehensive security guidelines for Django applications to protect against common vulnerabilities.

| DEBUG = False | Never run with DEBUG in production | | HTTPS only | Force SSL, secure cookies | | Strong secrets | Use environment variables for SECRETKEY | | Password validation | Enable all password validators | | CSRF protection | Enabled by default, don't disable | | XSS prevention | Django auto-escapes, don't use |safe with user input |

| SQL injection | Use ORM, never concatenate strings in queries | | File uploads | Validate file type and size | | Rate limiting | Throttle API endpoints | | Security headers | CSP, X-Frame-Options, HSTS | | Logging | Log security events | | Updates | Keep Django and dependencies updated |

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/affaan-m/everything-claude-code --skill django-security
分類
!安全工具
認證
收錄時間
2026-02-02
更新時間
2026-02-18

快速解答

什麼是 django-security?

Django 安全最佳實踐、身份驗證、授權、CSRF 保護、SQL 注入防護、XSS 防護和安全部署配置。 來源:affaan-m/everything-claude-code。

如何安裝 django-security?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/affaan-m/everything-claude-code --skill django-security 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/affaan-m/everything-claude-code