Claude Code SettingPermissions43 installs

Deny Sensitive Files

Deny access to sensitive files like environment variables and secrets.

Install with the Claude Code Templates CLI
$ npx claude-code-templates@latest --setting="permissions/deny-sensitive-files" --yes

Requires Claude Code. The command adds this setting to your project's .claudedirectory — nothing runs on ToolZip's servers.

What's inside this setting

Component source

{

"description": "Deny access to sensitive files like environment variables and secrets.",

"permissions": {

"deny": [

"Read(./.env)",

"Read(./.env.*)",

"Read(./secrets/**)",

"Read(./config/credentials.json)"

]

}

}

Type
Setting
Category
Permissions
Installs
43
Source
GitHub ↗

Related Claude Code Settings

Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.