Trade-Offs and the Option You Didn't Choose
Det här innehållet är inte tillgängligt på ditt språk än.
Module 3 of 6 in the chapter Reviewing a Security and Sharing Model, chapter 23 of Securing Salesforce: Sharing and Visibility. Each module stands on its own.
The question this module answers: Every security decision gives something up. How do you see what it gives up, decide on purpose, and show that you did?
Choose between imperfect options
Section titled “Choose between imperfect options”When I talk about what makes an architect, one line comes back every time: trade-offs mean choosing between imperfect options. There’s rarely a design with no cost. There’s the design whose cost you chose, and the one whose cost surprised you.
So in a review, I don’t only ask whether the model is secure. I ask what it gave up to be secure, and whether anyone decided that on purpose. Own the trade-offs: cost, risk, speed, complexity.
What security trades against
Section titled “What security trades against”Here are the five things a security model most often pulls against, each with an example from this course.
| Security pulls against | What it costs | From the course |
|---|---|---|
| Usability | A locked field is an extra step; a private default is a “why can’t I see it?” call | The assigned-rep field: display easy, edit work (chapter 4) |
| Performance | Every grant is a row; every role move a recalculation | Share rows and skew (chapter 22) |
| The seat | Each outside license allows different sharing; a cheaper seat means fewer of the 25 ways reach it | The stadium of seats (chapter 14 module 3) |
| Maintenance | Every rule, team and code-written share is something to keep right when people and records move | Rule sprawl and code-written shares (chapter 7, chapter 11) |
| Time | Some controls change how everything else works, and late is expensive | Not a week before go-live (chapter 18) |
None of these is a reason to weaken a requirement. Each is a reason to choose the design that meets the requirement at the lowest cost, and to say out loud what that cost is.
The one thing security doesn’t trade
Section titled “The one thing security doesn’t trade”Some things aren’t on the scale. If a requirement says a person mustn’t see a record, that’s the requirement, and performance, convenience and schedule don’t change it. Chapter 22 put it plainly: change how it grants, never what it protects.
The same goes the other way. If a requirement doesn’t call for a control, don’t add one because it sounds safer. Encryption nobody asked for, a private default on data everyone may read, a policy that blocks nothing real: each costs usability, performance and maintenance for no reason. Chapter 1 started the course with least privilege, and least privilege includes not paying for controls the data doesn’t need.
Write down the option you didn’t choose
Section titled “Write down the option you didn’t choose”Here’s the habit I ask for in every design: write down the option you didn’t choose, and why not.
Checkpoint 1 shows it. The obvious design for Steve Trucking’s deliveries was Public Read/Write with everyone trusted to look only at their own: quick, and nobody ever calls to say they can’t see a delivery. It was written down, with its cost: every employee could see a million Recipients’ home addresses a year. That’s why it wasn’t chosen.
Why write it down?
- It proves you saw the trade-off. A design with no alternative written beside it looks like the only idea anyone had.
- It answers the next reviewer. Someone will ask “why not just make it public?” The answer is already there.
- It’s ready when things change. If the requirement changes, the option you didn’t choose may become the right one, and the reasoning is waiting.
Who accepts the trade-off
Section titled “Who accepts the trade-off”Some trade-offs aren’t yours to make. When a design accepts a risk, a manager who can see a deactivated user’s records until cleanup, a regional team with wider access than strictly needed because the alternative costs a seat upgrade, the business owns that risk, not the architect.
So the record of a decision ends with a name: who accepted the trade-off, and when. That’s the owner from module 2, for a decision instead of a finding.
Test knowledge. Scenario questions on the exam usually have more than one workable answer. Know how to pick the one that meets the requirement with the least cost: the fewest custom pieces, the simplest sharing mechanism for the number of users and records, the seat that allows the sharing the requirement needs, and no control the requirement doesn’t call for. This supports IMP-1 and IMP-2 (the scalability and license implications of the sharing solution). A likely area, not a known question.
What an architect decides here
Section titled “What an architect decides here”- For each decision, what it gives up: usability, performance, seats, maintenance or time.
- That no requirement is weakened to save cost, and no control added without a requirement.
- The option not chosen, written beside each decision, with why not.
- Who accepts each trade-off that carries risk, and when it’s reviewed again.
Beyond the exam: what AI changes. An AI assistant will give you a design quickly, usually without the option it didn’t choose. Ask for it: “what’s the alternative, and what would it cost?” If it can’t say, it hasn’t weighed anything.
Explore
Section titled “Explore”- Checkpoint 1, chapter 10 module 7
- The seats, chapter 14 module 3
- A Scale Review Before Go-Live, chapter 22 module 6
