Secure Your Data in Experience Cloud with Advanced Configuration

Salesforce Architects
Salesforce Architects
4 min readApr 28, 2020

--

In our last blog post, we talked about three steps to secure your Salesforce data that can be accessed in your Salesforce Community. We focused on using features like object, field, and record level security to ensure data is available to the appropriate users. In this month’s blog, we’ll look into more advanced configuration and settings to further protect your data. Keep reading to learn how decisions you make around APIs, your Salesforce account model, and license types can have security implications in your Community.

Restrict Community Cloud Access via API

Users who have the API Enabled or APEX REST Services permissions can access your org’s data from outside of the Salesforce UI. This is very useful for integrations and connected applications, but you should assign these permissions sparingly because they can also inadvertently create vulnerabilities. Here are a few things to consider when working with them:

  • Enable these permissions via the User Profile, but remember to disable them for Anonymous or Guest Profiles.
  • Users with API Access can access any Salesforce API, so consider whitelisting the IP Addresses of the users you give it to in order to prevent access by unauthorized applications.
API Connectivity
  • APEX REST Services Access is more restrictive because it limits access to just REST Services without providing access to the SOAP API.
  • Connected Apps integrate applications with Salesforce using APIs using standard SAML and OAuth protocols to authenticate, provide single sign-on, and provide tokens for use with Salesforce APIs. You can set policies to control who can use the corresponding apps, and it’s a good practice to set the OAuth Policy to “Admin approved users are pre-authorized,” which will allow you to limit access to ensure that only people with the profiles or permission sets you specify can access the app.

Understand the Security Implications of Your Salesforce Account Model

Account Models define how account, contact, and opportunity objects interact with each other in NPSP and EDA. There are three different types of account models. You can see the one that your organization is currently using by going to People -> Account Model in your NPSP/EDA settings. Regardless of what model your organization leverages, pay attention to the way your sharing sets and profiles are set up in case you need to make adjustments to restrict access.

Account Model
  • In the Bucket Account Model, contacts without an account are all assigned to an overall “bucket” account. Since all contacts belong to the same account, they’ll be able to access each other’s data unless you explicitly restrict it by setting organization-wide defaults to Private and creating a sharing set that grants access to Community Users with a custom profile based on their Contact record.
  • In the Household Account Model, contacts from the same household belong to the same account and can access to each others’ data in a community. Whether or not you want to allow this is a business decision (in some organizations it’s actually preferred). Just make sure you understand what the implications are though, and if you’d prefer to restrict this access, you can do it the same way we described for the Bucket Account Model above.

Use the Right Community License Type

Community Licenses

Before you launch your community, check the documentation and thoroughly test each User or Profile to ensure they can only access the data you intended. Some Community License types, like Customer Community Plus Licenses, automatically grant access to certain records. For example, with Customer Community Plus Licenses, Case Sharing is turned on by default. This means that, if your organization was using cases prior to enabling Communities and you’re using this license type, then your users will be able to see all of the cases that they’re a contact on in Community Cloud. This can have privacy implications if a case has multiple contacts.

About the Authors

Tom Leddy

Tom Leddy is a Director of Education Services at Salesforce.org. As a certified Salesforce Architect, he advises education industry customers that are undergoing digital transformation efforts to help reshape their organizations and serve their constituents more effectively. He also leads multiple Salesforce.org community efforts, including the Ask An Architect content series and Architect Academy Roundtables series. Tom is a published author, public speaker and marathon runner based in the Chicago area. You can connect with him on LinkedIn, Instagram and Twitter

Carlos Villalpando

Carlos Villalpando
Carlos is a Director of EDU Services at Salesforce.org based in the Twin Cities area. He has been working on IT strategy for the last several years architecting, developing and re-engineering processes to make them efficient and aligned with the business that they serve.

Originally published at https://www.salesforce.org.

--

--

Salesforce Architects
Salesforce Architects

We exist to empower, inspire and connect the best folks around: Salesforce Architects.