Security articles
19 articles · Sharing, field-level access, CRUD/FLS enforcement and review findings.
Salesforce Security: Shared Responsibility, Least Privilege, Zero Trust
Plenty of Salesforce orgs are exposed because the basics were never nailed down. Here is what the shared responsibility...
Permission Set Assignment: Exporting Data Outside Salesforce
How to query PermissionSetAssignment records in SOQL and move them to an external system with the REST API or Bulk API...
What is Infrastructure as a Service? - IaaS Explained
Tired of waiting weeks for physical servers? Infrastructure as a Service lets you rent virtual compute and storage on...
Using the TwoFactorMethodsInfo object for Salesforce MFA
If you need to audit MFA compliance in your org, TwoFactorMethodsInfo is the object to know. It shows you exactly which...
Set Salesforce User Passwords with Apex System.setPassword
Setting up test users by hand is a waste of time. Apex System.setPassword is the fastest way I have found to get a team...
Cracking the Salesforce Developer Interview - 2025 Guide
I have sat on both sides of the interview table, and definitions are never what decides it. Here is how to show you can...
Apex Security Best Practices for Salesforce Developers
Security shouldn't be an afterthought, or something you bolt on the week before a release. Here is how I use User Mode...
Lightning Data Service: Build Salesforce UI Without Apex
Writing Apex for every single data fetch is a huge time sink. Lightning Data Service handles record access and security...
Okta Salesforce SSO Setup Guide - SAML 2.0 Integration
Managing dozens of passwords is a security risk and a pain for users. Here is how to set up Okta Salesforce SSO with...
What Happens When You Delete Public Group in Salesforce?
Deleting a public group looks simple until Salesforce blocks you with a cryptic error. Here is how to find the hidden...
Static vs Salesforce dynamic dashboards: Which to use?
Choosing between static and dynamic dashboards is a security and limits question, not a preference. I'll show you how...
Get Apex user IP address and location - SFDC Developers
Ever needed to know where your users are logging in from? Apex can hand you their IP address and map it to city and...