ServicesSalesforce consultingArchitectureImplementationOrg health checkDevelopmentIntegrations and APIsData migrationTesting and QAManaged supportSpecialist supportMarketing Cloud auditDeliverability
SolutionsMarketing Cloud EngagementMarketing Cloud NextSalesforce + BrazeAccount EngagementData Cloud (Data 360)Identity resolutionInsights and segmentsAgentforce and AIMCP integrationsSales and Service CloudReal-time personalisationIntegration solutionsEnterprise AI integrationBy industry
ArchitectureSalesforce CRMData 360Salesforce + BrazeAgentforceCustomer 360API-led integrationEvent-drivenMCP host, client and serverIdentity and consentMCP securityData governanceCI/CD and releasesOur public MCP server
ResourcesEngineering journalDecision guidesSolution blueprintsSalesforce productsProjects and achievementsSales ROI calculatorWhere we workChecklists and templatesPlanning toolsReadiness assessmentGlossaryAbout GeekMidstOur approachOur expertiseContact
CompanyAbout GeekMidstOur approachDelivery methodologyTrust and evidenceProjectsAchievementsBook a consultationContactWhere we workSecurity and data
Book a Consultation

Salesforce Security and Governance

We review and tighten Salesforce access, plan Shield and Salesforce Guardian, prepare for connected app and OAuth changes, and set up audit trails.

Security consultant plugging a hardware key into a laptop while an admin reviews a printed audit log

Salesforce security is mostly configuration: who can see which records, which integrations hold which tokens, and whether you can show an auditor what changed. GeekMidst reviews and improves Salesforce security and governance remotely from India. For how GeekMidst handles your data during a project, see security and data handling. For a broader technical review, see the org health check.

Access model

We review profiles, permission sets and groups, roles, sharing rules, guest user access and login policies, then move you towards least privilege. Winter '27 items to factor in include enforced Profile Filtering, an option to keep manual shares on record transfer, and the Guest User Sharing Rule Access Report. MFA passkey and security-key management was added in late Summer '26.

Capability map in four layers for experience, process, data and integration, linked by a value stream and framed by a governance and security rail

Shield and Salesforce Guardian

Shield is still a product: Platform Encryption, Event Monitoring, Field Audit Trail and Data Detect. Salesforce Guardian is the umbrella name for Salesforce's security, privacy and resilience add-ons, not a rename of Shield. It includes Shield and Security Center (with Security Mesh), Customer Identity and Mobile App Security, Privacy Center and Data Mask & Seed, and Backup & Recover and Archive. Winter '27 adds MCP Risk Scores in Security Center, Global Consent Manager and Platform Encryption for Archive and Backup (GA per Salesforce), plus Observability Center (Beta). Security Center Essentials is released at no cost. See Shield and Guardian.

Connected apps and OAuth

Most integration risk sits here. We list connected apps and integration users, find which OAuth flow each uses, and plan moves to External Client Apps and supported flows. Our post on connected apps and OAuth changes explains the steps.

What's included

AreaWhat we cover
Access reviewProfiles, permission sets, roles, sharing and guest access
Integration securityConnected apps, OAuth flows, integration users and credentials
Shield and GuardianA fit review, then setup of the components you license
MonitoringEvent Monitoring, Security Center and alerting
AuditSetup Audit Trail, Field Audit Trail and change records
GovernanceChange approval, admin access rules and periodic reviews

How we work

  1. 01

    Discovery

    We review org settings, users, integrations and your audit requirements.

  2. 02

    Design

    We propose an access model, integration fixes and the tools you need.

  3. 03

    Build

    We make changes in a sandbox, including restructuring permission sets.

  4. 04

    Test

    Users run their daily work to confirm nothing they need is blocked.

  5. 05

    Launch

    We deploy in stages and switch on monitoring.

  6. 06

    Support

    We run periodic access reviews and track Salesforce security changes.

Prerequisites and licences

Shield components and Guardian add-ons are licensed separately, and Security Health Review in Setup is for Signature Success customers. For regulatory requirements, check with your legal adviser; we help you plan for them.

Who it suits

Organisations preparing for an audit, teams with many integrations, and orgs that grew without an access design.

Common mistakes

  • Integrations running as a full system administrator.
  • Many cloned profiles with small differences.
  • Assuming Shield covers backup, when Backup & Recover is a separate Guardian item.
  • Leaving OAuth changes until the retirement date.

Workflow diagrams

Explore how the pieces fit together. Select a step to read what happens there.

Workflow

Authentication and authorisation

Open full size
Authentication and authorisationA visitor browses public pages as the guest user. New users self-register and returning users log in or use single sign-on, with verification where required. Their licence, profile and permission sets define what they can use, and sharing decides which records they see; everything else stays hidden.Authentication and authorisationVisitorExperience siteIdentitySharingYesNoYesNoVisits the site: As guest: public pages. Unauthenticated visitors run as the site guest user. Give it only what public pages need, and review guest access again after each release.Visits the siteAs guest: publicpagesHas an account?. Returning users log in; new users register if self-registration is enabled. Some portals are invitation only, with users created by staff instead.Has an account?Self-registration: Creates contact and user. Self-registration creates an external user linked to a contact and its account, with a default profile. Decide up front how the right account is found.Self-registrationCreates contact anduserLogin or SSO: Then MFA if required. Users log in with Salesforce credentials or single sign-on through your identity provider or a social provider. Add verification such as MFA to match data sensitivity.Login or SSOThen MFA if requiredExternal user: Licence, profile, permission sets. The licence and profile set which objects the user can use, and permission sets add more. Customer and partner licences differ, for example in role-based sharing.External userLicence, profile,permission setsRecord shared to user?. External org-wide defaults, sharing sets, share groups and sharing rules decide record access. Document the reason behind each object's sharing model.Record shared touser?Sees own data: Their cases and orders. The user sees records linked to their own contact or account. Test as users from two different accounts to prove neither can see the other's data.Sees own dataTheir cases andordersHidden: Not in lists or search. Records outside the user's access are excluded from lists, search and reports. Apex used by the site must also enforce sharing, or it can bypass this.HiddenNot in lists or searchStartDecisionProcess stepSystem or platformDataEnd or outcomeOriginal GeekMidst explanatory diagram, not an official Salesforce reference.

Select any step in the diagram, or use Step through, to see what happens at that point and why.

Text version: every step in order
  1. Visits the site VisitorAs guest: public pages

    Unauthenticated visitors run as the site guest user. Give it only what public pages need, and review guest access again after each release.

    Next: Has an account?

  2. Has an account? Experience site

    Returning users log in; new users register if self-registration is enabled. Some portals are invitation only, with users created by staff instead.

    Next: Yes: Login or SSO; No: Self-registration

  3. Login or SSO IdentityThen MFA if required

    Users log in with Salesforce credentials or single sign-on through your identity provider or a social provider. Add verification such as MFA to match data sensitivity.

    Next: External user

  4. Self-registration VisitorCreates contact and user

    Self-registration creates an external user linked to a contact and its account, with a default profile. Decide up front how the right account is found.

    Next: External user

  5. External user IdentityLicence, profile, permission sets

    The licence and profile set which objects the user can use, and permission sets add more. Customer and partner licences differ, for example in role-based sharing.

    Next: Record shared to user?

  6. Record shared to user? Sharing

    External org-wide defaults, sharing sets, share groups and sharing rules decide record access. Document the reason behind each object's sharing model.

    Next: Yes: Sees own data; No: Hidden

  7. Sees own data Experience siteTheir cases and orders

    The user sees records linked to their own contact or account. Test as users from two different accounts to prove neither can see the other's data.

    End of the flow.

  8. Hidden SharingNot in lists or search

    Records outside the user's access are excluded from lists, search and reports. Apex used by the site must also enforce sharing, or it can bypass this.

    End of the flow.

A visitor browses public pages as the guest user. New users self-register and returning users log in or use single sign-on, with verification where required. Their licence, profile and permission sets define what they can use, and sharing decides which records they see; everything else stays hidden. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

Workflow

Secure information exchange

Open full size
Secure information exchangeAn internal team attaches a document to a record and the external user is emailed a link to the portal rather than the file. The user signs in, sharing decides whether they can see the record, and permitted users download the document and upload a reply that is logged on the record.Secure information exchangeInternal teamSalesforceExperience siteExternal userYesNoReply uploadedFile shared: Attached to the record. Documents are attached to the record they belong to, such as a case or application, instead of being emailed as attachments that cannot be withdrawn.File sharedAttached to therecordFile on record: Visible to external users. Files linked to a record follow that record's sharing. The file's visibility setting must also allow external users, or portal users will not see it.File on recordVisible to externalusersNotification sent: Portal link, no attachment. The email says something is waiting and links to the portal. Keeping sensitive content out of email means it stays behind login and access checks.Notification sentPortal link, noattachmentUser signs in: MFA or SSO. The user authenticates before seeing anything. Strong verification matters most here, because the portal is now the route to sensitive documents.User signs inMFA or SSOAccess allowed?. Sharing on the parent record decides whether the file is visible. A user from another account, or one whose access was removed, sees nothing.Access allowed?Not shown: Record and files withheld. Without access, the record and its files are not shown. Monitoring repeated failed attempts helps spot misconfigured sharing or misuse.Not shownRecord and fileswithheldViews, replies: Downloads, uploads reply. The user downloads the document and uploads a reply or signed copy to the same record. Restricting allowed file types for uploads reduces risk.Views, repliesDownloads, uploadsreplyAudit trail: Kept on the record. Uploads, comments and changes are recorded against the record, alongside the user's login history. Shield Event Monitoring adds detail if you license it.Audit trailKept on the recordStartSystem or platformChannel or touchpointPerson or teamDecisionEnd or outcomeOriginal GeekMidst explanatory diagram, not an official Salesforce reference.

Select any step in the diagram, or use Step through, to see what happens at that point and why.

Text version: every step in order
  1. File shared Internal teamAttached to the record

    Documents are attached to the record they belong to, such as a case or application, instead of being emailed as attachments that cannot be withdrawn.

    Next: File on record

  2. File on record SalesforceVisible to external users

    Files linked to a record follow that record's sharing. The file's visibility setting must also allow external users, or portal users will not see it.

    Next: Notification sent

  3. Notification sent Experience sitePortal link, no attachment

    The email says something is waiting and links to the portal. Keeping sensitive content out of email means it stays behind login and access checks.

    Next: User signs in

  4. User signs in External userMFA or SSO

    The user authenticates before seeing anything. Strong verification matters most here, because the portal is now the route to sensitive documents.

    Next: Access allowed?

  5. Access allowed? Experience site

    Sharing on the parent record decides whether the file is visible. A user from another account, or one whose access was removed, sees nothing.

    Next: Yes: Views, replies; No: Not shown

  6. Views, replies External userDownloads, uploads reply

    The user downloads the document and uploads a reply or signed copy to the same record. Restricting allowed file types for uploads reduces risk.

    Next: Reply uploaded: Audit trail

  7. Not shown SalesforceRecord and files withheld

    Without access, the record and its files are not shown. Monitoring repeated failed attempts helps spot misconfigured sharing or misuse.

    End of the flow.

  8. Audit trail SalesforceKept on the record

    Uploads, comments and changes are recorded against the record, alongside the user's login history. Shield Event Monitoring adds detail if you license it.

    End of the flow.

An internal team attaches a document to a record and the external user is emailed a link to the portal rather than the file. The user signs in, sharing decides whether they can see the record, and permitted users download the document and upload a reply that is logged on the record. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

See securing Salesforce API integrations, administration services and Agentforce testing and governance.

Questions we hear

Is Salesforce Guardian a new name for Shield?
No. Shield is still a product. Guardian is the umbrella for security, privacy and resilience add-ons, and Shield is one part of it.
When does connected apps support end?
Salesforce says Summer '27, and points to External Client Apps as the replacement. Check Salesforce Help for the effect on your org.
Which integrations do the OAuth changes affect?
Those using the username-password, user-agent, hybrid user-agent or device flows, plus any relying on long-inactive refresh tokens. We list these first.
Do we need Shield?
Not always. It depends on your encryption, monitoring and audit needs, which we review before you buy anything.

Review your Salesforce security

Tell us about your org, integrations and audit needs, and we will suggest where to start.

Request a consultation →

Next step: Salesforce Security and Governance

  1. We read it A practitioner reads your message and replies by email.
  2. Short call We confirm goals, constraints and what success looks like.
  3. Written scope You get a scope and estimate before any work starts.

Tell us what you are trying to fix.

Share your Salesforce setup, goals and constraints. A practitioner reads every message and replies with questions, first thoughts or an honest view of whether you need outside help at all.

Talk to a Salesforce Expert
Book a Consultation