django-security
✓Django 安全最佳实践、身份验证、授权、CSRF 保护、SQL 注入防护、XSS 防护和安全部署配置。
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
详情
- 分类
- !安全工具
- 来源
- skills.sh
- 收录时间
- 2026-02-02