Keep Claude Code away from your .env files with permission deny rules
Claude Code reads files to help you. That is great, until the file is .env, a private key, or a cloud credentials folder. Permission deny rules let you block those reads outright. Minimal deny list In .claude/settings.json (shared with the team) or settings.local.json (personal), add these entries…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-09 01:16 · DEV Community — AI
Keep Claude Code away from your .env files with permission deny rules