A video course on locking down Claude Code for a team: deny first, enforced settings, costs, compliance, phased rollout.
Why this course
Claude Code is Claude's tool that writes code in a terminal, the window where you type commands. It acts with your rights: anything you can open, it can open. It can read the .env file, which holds the project's passwords and secret keys. It can read your SSH keys, which give access to servers (remote computers), and your AWS credentials, the ones for Amazon's online services. On one computer, that is a risk. On a hundred computers, you need rules written for everyone.
Anthropic is the company that makes Claude. In this note, "the documentation" means its own, the official manual for Claude Code. I compare the course with what it says.
My four notes on Claude Code only cover this subject in pieces. Jia Huang's The Claude Code Operating Model presents deny rules (what Claude is not allowed to do). That book also describes the settings a company enforces on computers, but not the sandbox, a closed zone where Claude works. Ritesh Vajariya devotes his whole course to limiting what Claude Code can do in a team. The course is aimed at the tech lead, the person who guides the team on the technical side. They have to make the tool available to 20, 50 or even 100 engineers.
Claude Code Enterprise Mastery is not a book: it is a video course, in English, published by Packt, a publisher that specializes in computing. It has 31 videos, for 4 h 08 according to the course page. Its announced level is "Expert", but the content is closer to intermediate: demos in the terminal on a small application, Team Pulse, with little code to remember. Numbers like "2_3" mean video 3 of section 2.
What the course gives: why and what to lock down on a team's computers. What it never shows: how to put those rules on a fleet, meaning all of a company's computers. The documentation fills that gap, and my take points to it.
The course also has a public repository of files to download: settings templates, checklists, an adoption playbook. That is its most useful material, and I cover it in ideas 2, 5 and 6.
The ideas that stick
The course's thread: an agent that inherits your rights gets locked down before it spreads. First the workstation (ideas 1 to 4), then compliance and the rollout (ideas 5 and 6).
1With no rules, Claude Code reads your .env without blinking
Team Pulse, the course's small application, ships with no settings at all. Vajariya asks Claude to read the .env, the file where a project keeps its passwords, and to display everything. Claude complies, AWS keys (access to Amazon's cloud) included, without asking permission (video 2_2).
The course lists four threats, four ways to get trapped, and this is only one of them (video 2_3). Here they are:
- Credential leak: your passwords and keys become readable, so they can leave the project. That is the
.envdemonstration. - Prompt injection: a prompt is a message written to Claude. Someone hides an instruction in a file Claude reads, like a code comment or a README (a project's introduction page). Claude reads it as text, then follows it as an order.
- Supply chain: your project uses code written by others, called code libraries. If one is booby-trapped,
npm install, the command that downloads them, runs a small program that sends your credentials elsewhere. - Subagents: a subagent is a small assistant that Claude launches for part of the work. According to the course, each one gets your full rights: it can therefore do everything you can do. The documentation does not say so, but provides rules to choose which subagents Claude may launch.
2Deny first, open up afterwards
Against these threats, the course's instruction is simple: forbid everything dangerous, then open up case by case. A rule tells Claude what it may do. It comes in three kinds:
allowpermits without asking.askmakes Claude put the question.denyrefuses.
If two rules contradict each other, deny beats ask, and ask beats allow (the course says so, the documentation confirms it).
The course's starting deny list forbids:
rm -rf: deleting a folder and everything in it.- Reading the
.env, the SSH keys and the AWS credentials. curl,wgetand Claude's web tools: commands that fetch or send data on the web.chmod 777: opening a file to everyone for reading, writing and running.sudo: granting yourself administrator rights.
The deny list is written in a settings file. With that one file alone, the demo's test is run again: Claude refuses to read the .env, and the npm test command, which runs the tests, stays permitted.
This excerpt comes from the documentation, not from the course. It shows only three rules. In Bash(curl *), Bash means the commands typed in the terminal. The star * stands for any run of characters, so the rule targets any command that starts with curl.
{
"permissions": {
"deny": ["Read(./.env)", "Bash(curl *)"],
"allow": ["Bash(npm run test *)"]
}
}
One detail struck me: the course gives not one deny list but four, and they don't agree. The first is the video's, the five lines above. The other three are in the course's downloadable files:
- The permissions matrix, a table of what each role may do: eight denies.
- The administrator's file, which they enforce on every computer (idea 3): nineteen denies.
- A project's file: ten denies.
None contains all the others. The nineteen-deny file doesn't block Claude's tools that read web pages, which the video blocks. The matrix leaves out sudo, the command that grants administrator rights. Merging them is up to you.
The nineteen-deny file also blocks npx -y and pip install, two commands that download code and then run or install it. The documentation mentions neither. It writes Bash(curl:*) where the documentation shows Bash(curl *): according to it (as of 30 October 2026), that is the same rule written differently.
Vajariya promises too much: "These are your hard boundaries, [Claude] cannot cross them, no matter what" (video 2_1). The documentation qualifies this: see "My take", further down.
3Five layers of settings, and the company's wins
Claude Code does not read its settings in one place but in five, which the course calls layers. Here they are, from strongest to weakest:
- Managed settings (
managed-settings.json): set by the administrator, the person who manages the company's computers. They apply to every employee. - Command line: the options typed when launching Claude Code. They apply to a single session, one use from launch to close.
- Project local (
.claude/settings.local.json): your personal settings for this project, kept out of Git, the software that keeps the project's history. - Project shared (
.claude/settings.json): saved in Git, so anyone who gets the project receives this file. - User: your settings valid for all your projects.
First rule: when two layers set the same thing, the higher one wins. Example from the documentation: the team sets the default AI model to Sonnet in the shared file, and you prefer Opus. You write it in your local file, which is above: only your sessions change. The company layer is at the very top, so nothing in your files undoes a managed setting.
Second rule: lists of rules, like allow and deny from idea 2, add up instead of overwriting each other. Course example: a developer allows curl in their global settings, the managed settings forbid it, and the ban wins. The order of the layers does not decide here, the rule from idea 2 does: a deny always wins.
The course adds that the developer can neither see nor change the managed layer, and that a higher layer overwrites the lower ones. The documentation qualifies this: they can see which source applies, with the /status command, and lists add up, as in the second rule above.
4The sandbox against approval fatigue
Well-set rules create another problem: permission prompts pile up. Each one is a message asking you to approve an action by Claude. After the tenth in five minutes, says Vajariya, "you start hitting approve without even actually reading what Claude is asking you to do" (video 2_4). That is approval fatigue: you let a mistake through without seeing it.
The course's answer is the sandbox, switched on with the /sandbox command. It is not a virtual machine, a fake computer inside the computer. It is a fence that the computer's system puts around the commands Claude launches. Inside, Claude works normally: it runs the tests, it writes in the project folder. According to the course, the limits cover files and the internet. As soon as a command goes past them, the system blocks it, whatever Claude decides.
That is where the value lies. The fence is held by the system, not by Claude's good will: so commands that stay inside can be approved automatically. They go through without a question (video 2_4), and the prompts that remain are the ones you will still read. Another mode, accept edits, does the same for files: Claude changes them without asking. In the demo, Claude runs the tests and Git without asking a question.
The sandbox does not replace the deny rules. The .env stays blocked because those rules stay active (the documentation confirms it for commands). Its limit on reading is in "Still relevant in 2026?".
5Before rolling out, four compliance questions, then a checklist by sector
Once the computers are under control, another question comes up: compliance. It is the security team's job, checking that the tool follows the company's rules. According to Vajariya, it decides whether you adopt Claude Code or stop the pilot, the trial run by a few engineers. It asks where the code goes and whether you can audit it, meaning check what it did. The course answers (video 8_1):
- Where the code goes: by default, your prompts go to Anthropic. If the company uses Amazon's cloud (Bedrock) or Google's (Vertex AI) instead, they go through its account at that provider and through its VPC, a private network reserved for your company. Anthropic "literally never" sees them.
- The documentation is less absolute. Two small things still go to Anthropic: the name of the site the web tool fetches, and the rating of the satisfaction survey (never your conversation). Settings turn both off.
- Training: training a model means making it learn from texts. Anthropic doesn't train its models on commercial plan data, the plans sold to companies. The documentation confirms it, unless the customer chooses to provide its data.
- ZDR (Zero Data Retention, no data kept): once it has answered, Anthropic keeps neither your prompts nor the answers. The course adds that three things remain anyway: usage and billing data (what it takes to bill you), the verdicts of the safety filters and abuse alerts.
- The documentation does not repeat the course's list. It names two other cases where Anthropic may keep data. First, if the law requires it. Second, if its safety systems spot a session (a conversation with Claude Code) that breaks the usage rules: it may then keep that session for up to two years.
- ZDR does not come with the Enterprise plan. The company must ask Anthropic for it, and Anthropic grants it to companies that meet its conditions. It is requested separately for each company account.
- It only protects exchanges with Claude Code. Chat on claude.ai and tools from other publishers plugged into Claude Code do not benefit. Anthropic also keeps the accounts' email addresses and the usage statistics.
- Local audit: every session leaves a plain-text (unencrypted) log in the
~/.claude/projects/folder, where~means your home folder (path checked).
On training: Anthropic promises not to train its models on your data. And we all know a multinational always keeps its word, of course. I prefer what I can verify: a binding contract, or data that never leaves at all (the VPC, above).
On ZDR: "zero retention", unless the law requires otherwise, unless a session is flagged (up to two years), unless it is emails and usage statistics. A multinational's zero comes with exceptions, and counting them is up to you.
Why go through Amazon or Google? A large company already has a contract with one of them: an invoice, controlled access, rules on where its data may go. Sending its code to Anthropic means one more supplier for the security department to approve. Through Bedrock or Vertex, it uses the same Claude models at a supplier it has already accepted.
The recent models are there: Anthropic's documentation of 30 October 2026 lists Opus 5.5, Sonnet 5.5 and Haiku 5.5 on Bedrock. I found no official promise on how fast a new model arrives. Third-party comparisons speak of a few days to a few weeks after Anthropic.
On price, third-party sites give the same rate as direct. The exact rate is on Amazon's pricing page. One point is official. A regional access address guarantees that the data goes through a given region. It costs 10% more than the global one, which picks the most available route by itself (Anthropic pricing). The real cost stays the administration work: accounts, access, regions, models to choose.
Team and Max subscriptions are flat plans per person, sold by Anthropic. In the documentation I read, Amazon does not sell them. A fourth route exists: Claude Platform on AWS. Anthropic runs it, and the invoice comes through AWS. To tell the routes apart:
| Route | Who sees the code | How you pay |
|---|---|---|
| Team or Max subscription | Anthropic | Flat fee per person |
| Direct API | Anthropic | By usage |
| Claude Platform on AWS | Anthropic | By usage, AWS invoice |
| Bedrock or Vertex | Amazon or Google, not Anthropic | By usage, the provider's invoice |
To prepare that file, video 8_3 itself points to a checklist by sector, to download from the course resources. This compliance checklist is two pages long. It opens with ten requirements common to all, such as a permissions audit every quarter. Then come five blocks, one per regulatory framework:
- SOC 2 Type II, an audit that certifies a supplier protects its customers' data over time: audit logs kept at least 30 days, then sent to a SIEM. A SIEM gathers the security logs of the whole company to spot incidents.
- Healthcare (HIPAA), the American law that protects patient data: ZDR "mandatory", session logs deleted after 7 days at most, and a BAA signed with Anthropic. The BAA is the contract that binds a supplier to protect that data.
- Finance: every exchange with Claude logged, and data kept in approved jurisdictions. The code of trading systems, which buy and sell securities, goes through human review.
- Government (FedRAMP), the program that authorizes a cloud service for the US federal government: a VPC is mandatory,
curlandwgetare denied. - GDPR, the European regulation on personal data: a data processing agreement signed with Anthropic, and a right to erasure to organize.
6To avoid a chaotic rollout, three phases, starting with a measured pilot
The team lead's question remains: how do you go from a few curious people to 20, 50 or even 100 engineers without everything going in all directions? Vajariya answers with three phases (video 10_1). His opening line: doing it in phases makes "the difference between success and chaos".
Chaos has precise faces. The repository's adoption playbook, two pages to fill in, lists six:
- No governance: rolling out with no deny rules, no CLAUDE.md (the team's instructions file), no written policy.
- Too fast: a hundred engineers get the tool before the rules are ready.
- Too slow: momentum is lost by over-analyzing the pilot.
- Wrong use cases: scaling tasks that AI doesn't help with.
- No cost monitoring: "discovering a $10k bill after 3 months", that is $10,000.
- No champions: management imposes the tool instead of relying on the teams' enthusiasm.
The video and the playbook give the same three phases, with different lengths: four weeks each in the video, six, then six, then thirteen and beyond in the playbook. The course doesn't say which to follow. The order matters more than the lengths:
- Pilot: a small group of engineers tries Claude Code, and their work is measured before the tool, for example the time they spend reviewing a PR. A PR (pull request) is a proposed change to the code. In the video's words: "You need these numbers before and after". You also pick two or three people who will help the others later: the video calls them "internal champions".
- Standardization: what the pilot learned becomes the rule for the whole company. You write CLAUDE.md templates (a team's instructions file), permission rules and shared settings. The playbook adds an AI usage policy, signed off by security and legal, and cost tracking per team.
- Rollout: you train everyone and open places to ask questions, including a weekly office hour. The internal champions help their colleagues get started.
Before the first phase, the repository's onboarding checklist details the administrator's work. They connect SSO, single sign-on with the company account. They also turn on SCIM, a protocol that creates or removes accounts when an employee joins or leaves. They set spending caps and put the managed settings file in place. For each developer, a simple test closes the setup: ask Claude to read the .env, which must be refused.
My take, honestly
In short: the course shows how to limit what Claude Code is allowed to do, but on a made-up application. The most useful part isn't in the videos: it's the files you download.
Let's be frank, I don't see much of what this course gives me. I expected system-administrator solutions: installing Claude Code on fifty computers and watching over them. There are none. The course tells a team lead what to forbid and why, never how to put the rule on each computer. I'm a web developer, not a security officer: I judge what the course teaches, not what it is worth in a company.
What it does well: showing the problem before the solution. You watch Claude read a .env file, the one that holds the passwords, without blinking. Only then does it lock it down. Then it stacks the protections: deny rules, sandbox, rollout plan. It calls this "defense in depth" (video 2_4). It's a house with a door, a lock and a dog: the burglar has to get past all three.
What I would keep is what you download: a managed settings file, CLAUDE.md templates, hooks, an adoption playbook, checklists. They are ready to copy, and the license allows it. So the best of the course is what you don't watch.
Its weaknesses, with what each costs you:
- A made-up application: Team Pulse, the course's application, is built for the occasion (video 1_3). You see no real company project, so if you already know Claude Code, you learn little.
- No help to install the rules on the computers: neither the videos nor the files say where to put them. The permissions matrix, one of the course's files, only says "in the enterprise-managed configuration path for your deployment". Thanks for the tip. You will have to look in Anthropic's documentation, which gives three ways: the claude.ai website console, a tool that manages the company's computers (Jamf or Intune), or a file placed on each computer.
- A course that contradicts itself: it gives two schedules (twelve weeks in the video, thirteen and more in the playbook) and four different deny lists. It also gives two prices for the Premium plan: $150 in the spreadsheet, $125 on the pricing page. Guessing which to believe is up to you, good luck.
- Deny rules that protect less than promised: video 2_1 says Claude cannot cross them "no matter what". The documentation says that is not true for everything (see below). You feel well protected, and you are less so.
- Already partly out of date: I compared 46 of the course's claims to Anthropic's documentation, and 28 are different today. You might as well recheck everything.
- The ending is an ad: video 10_2 lasts six minutes, and by my count of words, more than a minute and a half praises Vajariya's company. A passage to skip without regret.
My advice: download the repository first. Then watch the security videos (2_1 to 2_4) and the rollout plan (video 10_1), and skim the costs. The course also covers CLAUDE.md and skills (working instructions), which I only saw in part: see the notes listed below. Keep the documentation open, it is the authority.
Odilon
Still relevant in 2026?
The order of the layers and the priority of the deny still hold. For the rest, here is what the course said and what Anthropic's documentation says as of 30 October 2026.
- Command denies: the course blocks
curland mentions no way around that rule. According to the documentation,Bash(curl *)compares text and letssh -c 'curl …'through (the same command, by a detour). It is "not a security boundary": you must add the sandbox's list of allowed sites (permissions). - Read denies: the course shows the
.envblocked. According to the documentation, Claude reads a file in two ways: through its file tools, or by launching a small program with Bash, the tool that runs commands. AReaddeny covers the file tools. It doesn't cover the programs Bash launches outside the sandbox. The sandbox and itsdenyReadsetting (forbidding the reading of a path, the address of a file or folder) answer that (sandboxing). - MCP servers: an MCP server is a program that gives Claude new tools, such as access to GitHub. The videos don't cover them, the repository's managed file does. Its three keys are valid in a managed file. Its empty allowlist allows no server, unless another layer adds some: these lists add up too. To prevent that, the documentation provides the
allowManagedMcpServersOnlykey, missing from the file (managed-mcp). - Sandbox: the course says "Linux and Mac", with no access outside the project folder. According to the documentation, it is off by default, also runs under WSL2 (Linux inside Windows) and lets
~/.sshbe read withoutdenyRead(sandboxing). - ZDR: the course opens it to Enterprise and to the API, and requires it for HIPAA, as does its compliance checklist. According to the documentation, it is mostly reserved for qualified Enterprise accounts, and a HIPAA configuration covers Claude Code without it (zero-data-retention).
- Budget: for 20 engineers who pay for usage at API rates, the course plans $800 to $2,000 a month. The documentation's benchmark, $150 to $250 per developer per month, gives more like $3,000 to $5,000 (costs).
Who is it for?
Watch it if
- You have to propose Claude Code to a team and reassure your security department
- You are looking for a starting deny list, a rollout schedule and files ready to copy
- You follow spoken English without trouble
Skip it if
- You are looking for how to roll out a policy on a fleet (MDM, console): the course doesn't show it, the documentation does
- You are looking for code or real cases
- You work alone: the neighboring notes will serve you better
This video course is part of ExpertEdge, Packt's subscription for technical books and video courses. The code ODILON50 takes 50% off the yearly plan: the course on ExpertEdge. Affiliate link: I earn a commission if you subscribe with this code, and my ratings don't depend on it.
For going further
- The course's public files: its publisher's GitHub repository (MIT license) holds a managed settings file, CLAUDE.md templates, hooks and two skills. Course resources read: adoption playbook, onboarding checklist, compliance checklist, permissions matrix, cost spreadsheet.
- The note on Jia Huang's The Claude Code Operating Model: skills (working instructions), hooks (actions launched automatically) and subagents (small assistants), in detail.
- The note on Zenva's Best Practices for Claude Code: managing a session's context.
- The note on Zenva's 101 Claude Code Tips: the lone developer's reflexes.
Note based on the course, 16 videos read in full out of 31 and the others in part, and on its public resources. The facts about Claude Code were checked against Anthropic's documentation on 30 October 2026.
Comments (0)