Salesforce
Salesforce security research, from Apex and Flows to the live org. 58 posts. All posts
Asynchronous Apex security: Queueable, Batch and @futureHow sharing, CRUD and FLS behave when Apex runs later: Queueable, Batch, Schedulable and @future, the API 67.0 change, and the patterns that stay safe.Read the post →The Agentforce agent user: least privilege for an AI that acts in your orgWhich user an Agentforce agent runs as, what the agent user gets by default, and how to audit and shrink its access with SOQL and permission sets.Read the post →Who holds Modify All Data and View All Data? Counting Salesforce superpowersCount who really holds Modify All Data, View All Data, Author Apex and Manage Users in Salesforce with SOQL, then cut the list down with a least-privilege plan.Read the post →Web-to-Lead and Web-to-Case as prompt-injection channels for AgentforcePublic forms write straight into fields your Agentforce agents read. What ForcedLeak and SalesBleed showed, and the controls that close the channel.Read the post →Connected Apps to External Client Apps: a security-minded migrationNew Salesforce connected apps are off by default and support ends in Summer '27. How to migrate to external client apps and tighten OAuth policies on the way.Read the post →The OAuth username-password flow is retiring: find the integrations that still use itSalesforce retires the OAuth username-password flow on 20 February 2027. How to find every integration that still uses it and what to move each one to.Read the post →Who changed our Salesforce org? Reading Setup Audit Trail for securityWhat Salesforce Setup Audit Trail records, how long it keeps it, what it misses, and a weekly review routine that catches risky org changes early.Read the post →Salesforce sandbox security: production data, outside production controlsSalesforce sandbox security - what full and partial copies contain, data masking, who has access, refresh hygiene and integrations aimed at production.Read the post →Secrets in Salesforce metadata - Apex, custom settings, custom metadata and credentials comparedWhere to store secrets in Salesforce: hardcoded Apex keys, custom settings, custom metadata, protected types and Named Credentials, and what leaks in a repo.Read the post →Salesforce DevSecOps for pharma and life sciences: GxP, validation and Part 11Salesforce DevSecOps for pharma: how GxP, computer system validation and 21 CFR Part 11 audit trails and e-signatures apply to Salesforce change delivery.Read the post →Experience Cloud self-registration security: what a stranger gets when they sign upExperience Cloud self-registration security - the registration handler, default account and profile, verification, sharing sets and what new users can read.Read the post →@AuraEnabled methods are public APIs: securing LWC and Aura Apex controllers@AuraEnabled security for LWC and Aura controllers: who can call them directly, guest access, sharing, FLS, untrusted input and cacheable=true caveats.Read the post →